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(), CADiatonicPitch::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(), CANote::diatonicPitch(), CADiatonicPitch::diatonicPitchFromMidiPitch(), CADiatonicPitch::diatonicPitchFromMidiPitchKey(), CADrawableContext::drawableContextType(), CADrawableContext::DrawableStaff, CADrawableFunctionMarkSupport::Ellipse, CAContext::FiguredBassContext, CAMusElement::FiguredBassMark, CAScoreView::findMElement(), CADrawableContext::findMElement(), CATuplet::firstNote(), CAFunctionMark::function(), CAMusElement::FunctionMark, CAContext::FunctionMarkContext, CADrawable::height(), INITIAL_X_OFFSET, CADrawableFunctionMark::isExtenderLineVisible(), CAPlayable::isLastInTuplet(), CAMusElement::isPlayable(), CADrawableFunctionMarkSupport::Key, CAFunctionMark::key(), CADrawableKeySignature::keySignature(), CAMusElement::KeySignature, CATuplet::lastNote(), CADrawableFunctionMarkContext::Lower, CAContext::LyricsContext, CAMusElement::Mark, CADrawableFunctionMarkContext::Middle, CAMusElement::MidiNote, CAMidiNote::midiPitch(), MINIMUM_SPACE, CAMusElement::musElementType(), CADrawable::neededWidth(), CADrawableNote::note(), CAMusElement::Note, CADiatonicPitch::noteName(), CAFiguredBassMark::numbers(), CANote::phrasingSlurEnd(), CANote::phrasingSlurStart(), placeMarks(), placeNoteCheckerErrors(), CAContext::previous(), CADrawableFunctionMarkSupport::Rectangle, CADrawableRest::rest(), CAMusElement::Rest, scalableElts, CADrawableFunctionMark::setExtenderLineVisible(), CADrawableFunctionMarkSupport::setRectWider(), CADrawable::setWidth(), CADrawableSlur::setX2(), CADrawableSlur::setXMid(), CADrawable::setXPos(), CADrawableSlur::setY2(), CADrawableSlur::setYMid(), CAScoreView::sheet(), CAMusElement::Slur, CASlur::SlurDown, CANote::slurEnd(), CASlur::SlurNeutral, CASlur::SlurPreferred, CANote::slurStart(), CASlur::SlurUp, CAContext::Staff, CAVoice::staff(), streamsRehersalMarks, CAMusElement::Syllable, CAFunctionMark::T, CANote::tieEnd(), CADrawableTimeSignature::timeSignature(), CAMusElement::TimeSignature, CAScoreView::timeToCoords(), CAFunctionMark::tonicDegree(), CADrawableFunctionMarkSupport::Tonicization, CAMusElement::Tuplet, CAPlayable::tuplet(), CAFunctionMark::Undefined, CAMusElement::Undefined, CADrawableFunctionMarkContext::Upper, CADrawable::width(), CADrawable::xPos(), CADrawableSlur::y1(), CADrawableSlur::y2(), CADrawable::yPos(), and CADrawableFunctionMarkContext::yPosLine().

Referenced by CAScoreView::rebuild().

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: