Canorus  0.0
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
CALayoutEngine Class Reference

#include <layoutengine.h>

Static Public Member Functions

static void reposit (CAScoreView *v)
 

Static Private Member Functions

static void placeMarks (CADrawableMusElement *, CAScoreView *, int)
 
static void placeNoteCheckerErrors (CADrawableMusElement *, CAScoreView *)
 

Static Private Attributes

static int * streamsRehersalMarks
 
static QList< CADrawableMusElement * > scalableElts
 

Member Function Documentation

◆ placeMarks()

void CALayoutEngine::placeMarks ( CADrawableMusElement *  e,
CAScoreView *  v,
int  streamIdx 
)
staticprivate

◆ placeNoteCheckerErrors()

void CALayoutEngine::placeNoteCheckerErrors ( CADrawableMusElement *  dMusElt,
CAScoreView *  v 
)
staticprivate

References CAScoreView::addDrawableNoteCheckerError(), CADrawableMusElement::musElement(), and CAMusElement::noteCheckerErrorList().

Referenced by reposit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reposit()

void CALayoutEngine::reposit ( CAScoreView *  v)
static

Repositions the notes in the abstract sheet of the given score view v so they fit nicely. This function doesn't clear the view, but only adds the elements.

References CAFiguredBassMark::accs(), CAScoreView::addCElement(), CAScoreView::addMElement(), CADrawableFunctionMarkSupport::Alterations, CALyricsContext::associatedVoice(), CAMusElement::Barline, CADrawableStaff::calculateCenterYCoord(), CADrawableFunctionMarkSupport::ChordArea, CADrawableClef::clef(), CAMusElement::Clef, CADrawableContext::context(), CAMusElement::context(), CASheet::contextList(), CADrawableFiguredBassNumber::DEFAULT_NUMBER_SIZE, CADrawableLyricsContext::DEFAULT_TEXT_VERTICAL_SPACING, CAKeySignature::diatonicKey(), CADiatonicKey::diatonicKeyToString(), CADiatonicPitch::diatonicPitchFromMidiPitch(), CADiatonicPitch::diatonicPitchFromMidiPitchKey(), CADrawableContext::drawableContextType(), CADrawableContext::DrawableStaff, CADrawableFunctionMarkSupport::Ellipse, CAContext::FiguredBassContext, CAMusElement::FiguredBassMark, CADrawableContext::findMElement(), CAScoreView::findMElement(), CAFunctionMark::function(), CAMusElement::FunctionMark, CAContext::FunctionMarkContext, CADrawable::height(), INITIAL_X_OFFSET, CADrawableFunctionMark::isExtenderLineVisible(), CAMusElement::isPlayable(), CADrawableFunctionMarkSupport::Key, CAFunctionMark::key(), CADrawableKeySignature::keySignature(), CAMusElement::KeySignature, CADrawableFunctionMarkContext::Lower, CAContext::LyricsContext, CAMusElement::Mark, CADrawableFunctionMarkContext::Middle, CAMusElement::MidiNote, CAMidiNote::midiPitch(), MINIMUM_SPACE, CAMusElement::musElementType(), CADrawable::neededWidth(), CAMusElement::Note, CAFiguredBassMark::numbers(), placeMarks(), placeNoteCheckerErrors(), CAContext::previous(), CADrawableFunctionMarkSupport::Rectangle, CAMusElement::Rest, scalableElts, CADrawableFunctionMark::setExtenderLineOnly(), CADrawableFunctionMark::setExtenderLineVisible(), CADrawableFunctionMarkSupport::setRectWider(), CADrawable::setWidth(), CADrawableSlur::setX2(), CADrawableSlur::setXMid(), CADrawable::setXPos(), CADrawableSlur::setY2(), CADrawableSlur::setYMid(), CAScoreView::sheet(), CAMusElement::Slur, CASlur::SlurDown, CASlur::SlurNeutral, CASlur::SlurPreferred, CASlur::SlurUp, CAContext::Staff, CAVoice::staff(), streamsRehersalMarks, CAMusElement::Syllable, CAFunctionMark::T, CADrawableTimeSignature::timeSignature(), CAMusElement::TimeSignature, CAScoreView::timeToCoords(), CAFunctionMark::tonicDegree(), CADrawableFunctionMarkSupport::Tonicization, CAMusElement::Tuplet, CAFunctionMark::Undefined, CAMusElement::Undefined, CADrawableFunctionMarkContext::Upper, CADrawable::width(), CADrawable::xPos(), CADrawableSlur::y1(), CADrawableSlur::y2(), and CADrawable::yPos().

Referenced by CAScoreView::rebuild().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ scalableElts

QList< CADrawableMusElement * > CALayoutEngine::scalableElts
staticprivate

Referenced by placeMarks(), and reposit().

◆ streamsRehersalMarks

int * CALayoutEngine::streamsRehersalMarks
staticprivate

Referenced by placeMarks(), and reposit().


The documentation for this class was generated from the following files: