![]() |
Verovio
Source code documentation
|
This class is an interface for MEI stemmed element. More...
#include <drawinginterface.h>
Public Member Functions | |
| Point | GetDrawingStemStart (const Object *object=NULL) const |
| Point | GetDrawingStemEnd (const Object *object=NULL) const |
Constructors, destructors, and other standard methods | |
| StemmedDrawingInterface () | |
| virtual | ~StemmedDrawingInterface () |
| virtual void | Reset () |
Set and get the stem object managed by the interface | |
| void | SetDrawingStem (Stem *stem) |
| Stem * | GetDrawingStem () |
| const Stem * | GetDrawingStem () const |
Set and get the stem direction and stem positions | |
Wrapper that passes values to the Stem object. | |
| void | SetDrawingStemDir (data_STEMDIRECTION stemDir) |
| data_STEMDIRECTION | GetDrawingStemDir () const |
| void | SetDrawingStemLen (int drawingStemLen) |
| int | GetDrawingStemLen () const |
| int | GetDrawingStemModRelY () const |
Virtual methods overriden in child classes (Chord and Note) | |
| virtual Point | GetStemUpSE (const Doc *doc, int staffSize, bool graceSize) const =0 |
| virtual Point | GetStemDownNW (const Doc *doc, int staffSize, bool graceSize) const =0 |
| virtual int | CalcStemLenInThirdUnits (const Staff *staff, data_STEMDIRECTION stemDir) const =0 |
| FunctorCode | InterfaceResetData (ResetDataFunctor &functor) |
| Called explicitly from ResetDataFunctor. | |
Protected Attributes | |
| Stem * | m_drawingStem |
| A pointer to the child Stem set by PrepareLayerElementParts. | |
This class is an interface for MEI stemmed element.
It stores stem drawing values for notes and chords.