|
Canorus
0.7
|
Class for correctly placing the abstract notes to the score canvas. More...
#include <engraver.h>
Static Public Member Functions | |
| static void | reposit (CAScoreViewPort *v) |
Static Private Member Functions | |
| static void | placeMarks (CADrawableMusElement *, CAScoreViewPort *, int) |
Static Private Attributes | |
| static int * | streamsRehersalMarks |
| static QList < CADrawableMusElement * > | scalableElts |
Class for correctly placing the abstract notes to the score canvas.
This class is a bridge between the data part of Canorus and the UI. Out of data CAMusElement* and CAContext* objects, it creates their CADrawable* instances.
|
staticprivate |
Place marks for the given music element.
References CAScoreViewPort::addMElement(), CAMark::Articulation, CADrawableMusElement::drawableContext(), CAMark::Fermata, CAMark::Fingering, CADrawable::height(), CADrawable::isHScalable(), CADrawable::isVScalable(), CAFingering::LHeel, CAFingering::LToe, CAMusElement::markList(), CAMark::markType(), CADrawableMusElement::musElement(), CAMusElement::musElementType(), CAMusElement::Note, CAMark::Pedal, CAMark::RehersalMark, scalableElts, CADrawableMark::setRehersalMarkNumber(), CASlur::SlurDown, streamsRehersalMarks, CAMark::Text, CADrawable::width(), CADrawable::xPos(), and CADrawable::yPos().
Referenced by reposit().


|
static |
Repositions the notes in the abstract sheet of the given score viewport v so they fit nicely. This function doesn't clear the viewport, but only adds the elements.
References CAScoreViewPort::addCElement(), CAScoreViewPort::addMElement(), CADrawableFunctionMarkSupport::Alterations, CALyricsContext::associatedVoice(), CAMusElement::Barline, CADrawableFunctionMarkSupport::ChordArea, CADrawableClef::clef(), CAMusElement::Clef, CADrawableContext::context(), CAMusElement::context(), CASheet::contextAt(), CASheet::contextCount(), CAContext::contextType(), CADrawableLyricsContext::DEFAULT_TEXT_VERTICAL_SPACING, CADiatonicKey::diatonicKeyToString(), CADrawableContext::drawableContextType(), CADrawableContext::DrawableStaff, CADrawableFunctionMarkSupport::Ellipse, CADrawableContext::findMElement(), CAScoreViewPort::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, CADrawableFunctionMarkContext::Middle, MINIMUM_SPACE, CAMusElement::musElementType(), CADrawable::neededWidth(), CAMusElement::Note, placeMarks(), CAContext::previous(), CADrawableFunctionMarkSupport::Rectangle, CAMusElement::Rest, scalableElts, CADrawableFunctionMark::setExtenderLineVisible(), CADrawableFunctionMarkSupport::setRectWider(), CADrawable::setWidth(), CADrawableSlur::setX2(), CADrawableSlur::setXMid(), CADrawable::setXPos(), CADrawableSlur::setY2(), CADrawableSlur::setYMid(), CAScoreViewPort::sheet(), CASlur::SlurDown, CASlur::SlurNeutral, CASlur::SlurPreferred, CASlur::SlurUp, CAContext::Staff, CAVoice::staff(), streamsRehersalMarks, CAMusElement::Syllable, CAFunctionMark::T, CADrawableTimeSignature::timeSignature(), CAMusElement::TimeSignature, CAScoreViewPort::timeToCoords(), CAFunctionMark::tonicDegree(), CADrawableFunctionMarkSupport::Tonicization, CAFunctionMark::Undefined, CADrawableFunctionMarkContext::Upper, CADrawable::width(), CADrawable::xPos(), CADrawableSlur::y1(), CADrawableSlur::y2(), and CADrawable::yPos().
Referenced by CAScoreViewPort::rebuild().


|
staticprivate |
Referenced by placeMarks(), and reposit().
|
staticprivate |
Referenced by placeMarks(), and reposit().
1.8.3