GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
parent class for all notation elements. More...
Public Member Functions | |
GRNotationElement () | |
virtual | ~GRNotationElement () |
GRStaff * | getGRStaff () const |
virtual void | setGRStaff (GRStaff *in) |
GRSystemSlice * | getGRSystemSlice () const |
virtual int | getStaffNumber () const |
virtual void | tellPosition (GObject *caller, const NVPoint &point) |
virtual float | getLeftSpace () const |
virtual float | getRightSpace () const |
virtual void | setLeftSpace (float lspace) |
virtual void | setRightSpace (float rspace) |
virtual void | setHPosition (float nx) |
virtual void | setPosition (const NVPoint &newPosition) |
virtual void | setNeedsSpring (int inFlag) |
virtual int | getNeedsSpring () const |
virtual int | getSpringID () const |
virtual void | tellSpringID (int inSpringID) |
NEPointerList * | getAssociations () |
const NEPointerList * | getAssociations () const |
virtual void | removeAssociation (const NEPointerList &nl) |
virtual void | removeAssociation (GRNotationElement *el) |
void | FreeAssociatedList () |
virtual NVPoint | getTieEnd () const |
virtual NVPoint | getTieStart () const |
virtual NVRect | getAssociatedBoundingBox () const |
void | addToBoundingBox (GRNotationElement *in) |
virtual void | OnDraw (VGDevice &hdc) const |
void | OnDrawSymbol (VGDevice &hdc, unsigned int inSymbol, float inOffsetX=0, float inOffsetY=0, float inFontSize=0) const |
void | OnDrawText (VGDevice &hdc, NVPoint pos, const char *cp, int inCharCount=-1) const |
void | OnDrawText (VGDevice &hdc, const char *cp, int inCharCount=-1) const |
void | DrawSymbol (VGDevice &hdc, unsigned int inSymbol, float x=0, float y=0, float size=0) const |
void | DrawNumericSymbols (VGDevice &hdc, const char *symbols, float x, float y, float size, float spacing=DEFAULTNUMERICSPACE) const |
void | Show (bool status) |
bool | GetShow () const |
virtual void | SendMap (const NVRect &r, MapCollector &f, TYPE_TIMEPOSITION date, TYPE_DURATION dur, GuidoElementType type, MapInfos &infos) const |
virtual void | SendMap (MapCollector &f, TYPE_TIMEPOSITION date, TYPE_DURATION dur, GuidoElementType type, MapInfos &infos) const |
virtual unsigned int | getTextAlign () const |
virtual const ARMusicalObject * | getAbstractRepresentation () const |
virtual const TYPE_DURATION & | getDuration () const |
virtual void | setDuration (const TYPE_TIMEPOSITION &dur) |
virtual void | setRelativeTimePosition (const TYPE_TIMEPOSITION &tp) |
virtual void | setRelativeEndTimePosition (const TYPE_TIMEPOSITION &tp) |
virtual const TYPE_TIMEPOSITION & | getRelativeTimePosition () const |
virtual void | setDrawOnOff (bool onoff) |
virtual bool | getDrawOnOff () |
virtual TYPE_TIMEPOSITION | getRelativeEndTimePosition () const |
virtual void | recalcVerticalPosition () |
virtual void | addAssociation (GRNotationElement *grnot) |
virtual void | accept (GRVisitor &visitor) |
virtual void | print (std::ostream &os) const |
const NEPointerList * | associated () const |
virtual void | setIsInHeader (bool state) |
virtual bool | isInHeader () const |
virtual bool | isEmpty () const |
virtual bool | isLyrics () const |
virtual bool | isChordComma () const |
virtual bool | checkCollisionWith () const |
virtual const GRText * | isText () const |
virtual const GRSingleNote * | isSingleNote () const |
virtual GRSingleNote * | isSingleNote () |
virtual const GRNote * | isGRNote () const |
virtual const GRRest * | isRest () const |
virtual const GREvent * | isGREvent () const |
virtual GREvent * | isGREvent () |
virtual const GRGlue * | isGRGlue () const |
virtual const GRTempo * | isGRTempo () const |
virtual const GRTrill * | isGRTrill () const |
virtual const GRBar * | isGRBar () const |
virtual const GRDynamics * | isGRDynamic () const |
virtual GRFingering * | isGRFingering () |
virtual GRSlur * | isGRSlur () |
virtual const GRHarmony * | isGRHarmony () const |
![]() | |
virtual | ~GObject () |
virtual void | addToOffset (const NVPoint &) |
virtual const NVPoint & | getOffset () const |
virtual const char * | getFont () const |
virtual const char * | getFontAttrib () const |
virtual const unsigned char * | getColRef () const |
virtual int | getFontSize () const |
virtual float | getSize () const |
virtual const NVPoint & | getReferencePosition () const |
Retrieves the Symbol-reference-position with respect to the GUIDO-reference-position. More... | |
const NVPoint & | getPosition () const |
const NVRect & | getBoundingBox () const |
void | addToBoundingBox (const NVRect &in) |
NVRect & | getReferenceBoundingBox () |
virtual bool | isGREventClass () const |
virtual void | GetMap (GuidoElementSelector sel, MapCollector &f, MapInfos &infos) const |
virtual void | DrawBoundingBox (VGDevice &hdc, const VGColor &inBrushColor) const |
![]() | |
virtual | ~GRVisitable () |
Static Public Member Functions | |
static int | ComparePos (const GRNotationElement *g1, const GRNotationElement *g2) |
![]() | |
static bool | positionIsOnStaffLine (float inPositionY, float inLSpace) |
static float | GetSymbolExtent (unsigned int inSymbol) |
Protected Member Functions | |
void | DrawExtents (VGDevice &hdc, const VGColor &inColor) const |
![]() | |
GObject () | |
GObject (const GObject &in) | |
Protected Attributes | |
unsigned int | mSymbol |
GRStaff * | mGrStaff |
int | mNeedsSpring |
int | mSpringID |
float | mLeftSpace |
float | mRightSpace |
bool | mDraw |
bool | mShow |
bool | mIsInHeader |
TYPE_DURATION | mDurationOfGR |
NEPointerList * | mAssociated |
![]() | |
NVPoint | mPosition |
NVRect | mBoundingBox |
NVRect | mMapping |
Additional Inherited Members | |
![]() | |
static std::map< ConstMusicalSymbolID, float > | sSymbolExtentMap |
static NVPoint | sRefposNone |
parent class for all notation elements.
GRNotationElement::GRNotationElement | ( | ) |
|
virtual |
|
virtual |
Reimplemented from GRVisitable.
Reimplemented in GRStaff, GRMusic, GRSystem, GRBeam, GRVoice, GRPage, GRArticulation, GRBar, GRText, GRSingleRest, GRSingleNote, GRTrill, GRSlur, GRIntens, GRKey, GRMeter, GRClef, GRDynamics, GRRange, GREmpty, GRNotations, and GRFingering.
|
virtual |
Reimplemented in GRGrace, GRBeam, GRPTagARNotationElement, GRGlobalStem, GRChordTag, GRGlobalLocation, GRGlissando, GRText, GRHarmony, GRSymbol, GRRange, GRDynamics, GRTie, and GRBowing.
void GRNotationElement::addToBoundingBox | ( | GRNotationElement * | in | ) |
|
inline |
|
inlinevirtual |
|
static |
void GRNotationElement::DrawNumericSymbols | ( | VGDevice & | hdc, |
const char * | symbols, | ||
float | x, | ||
float | y, | ||
float | size, | ||
float | spacing = DEFAULTNUMERICSPACE |
||
) | const |
void GRNotationElement::DrawSymbol | ( | VGDevice & | hdc, |
unsigned int | inSymbol, | ||
float | x = 0 , |
||
float | y = 0 , |
||
float | size = 0 |
||
) | const |
void GRNotationElement::FreeAssociatedList | ( | ) |
|
inlinevirtual |
Reimplemented in GRARNotationElement.
|
virtual |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
GRSystemSlice* GRNotationElement::getGRSystemSlice | ( | ) | const |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
virtual |
Reimplemented in GRStaff.
|
virtual |
Reimplemented in GRSingleRest, GRText, GRHarmony, GRTrill, GRClef, GRRepeatEnd, GRPageText, GRRepeatBegin, GRTempo, GRTempoChange, and GRTremolo.
|
inlinevirtual |
Reimplemented in GRSingleNote.
|
inlinevirtual |
Reimplemented in GRSingleNote.
|
inlinevirtual |
Reimplemented in GRARNotationElement.
|
inlinevirtual |
Reimplemented in GREmpty.
|
inlinevirtual |
Reimplemented in GRDynamics.
|
inlinevirtual |
Reimplemented in GREvent.
|
inlinevirtual |
Reimplemented in GRFingering.
|
inlinevirtual |
Reimplemented in GRHarmony.
|
inlinevirtual |
Reimplemented in GRTempo.
|
inlinevirtual |
Reimplemented in GRTrill.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GRText.
|
inlinevirtual |
Reimplemented in GRSingleNote.
|
inlinevirtual |
Reimplemented in GRSingleNote.
|
virtual |
Implements GObject.
Reimplemented in GRNote, GRRest, GRStaff, GRBeam, GRBowing, GRSystem, GRGlissando, GRSystemSlice, GRFlag, GRGlobalStem, GRPage, GRText, GRSingleNote, GRArticulation, GRSingleRest, GRHarmony, GRSymbol, GRTuplet, GRBar, GRVolta, GRRepeatEnd, GRTrill, GRStem, GRMark, GRNoteDot, GROctava, GRRepeatBegin, GRStaccato, GRGlobalLocation, GRClef, GRCluster, GRIntens, GRStdNoteHead, GRJump, GRMeter, GRAccidental, GRRange, GRArpeggio, GREmpty, GRPageText, GRTempoChange, GRBreathMark, GRInstrument, GRDrHoos, GRDummy, GRSpace, GRFingering, GRNotations, GRSlur, GRSystemTag, GRTremolo, GRDrRenz, GRSpecial, GRBarFormat, GRCrescendo, GRSimpleBeam, GRTab, GRDiminuendo, GRKey, GRTempo, GRVoice, GRAccolade, and GRGlue.
void GRNotationElement::OnDrawSymbol | ( | VGDevice & | hdc, |
unsigned int | inSymbol, | ||
float | inOffsetX = 0 , |
||
float | inOffsetY = 0 , |
||
float | inFontSize = 0 |
||
) | const |
void GRNotationElement::OnDrawText | ( | VGDevice & | hdc, |
const char * | cp, | ||
int | inCharCount = -1 |
||
) | const |
void GRNotationElement::OnDrawText | ( | VGDevice & | hdc, |
NVPoint | pos, | ||
const char * | cp, | ||
int | inCharCount = -1 |
||
) | const |
|
virtual |
Reimplemented in GRStaff, GRMusic, GRSystem, GRSystemSlice, GRPage, GRArticulation, and GRGlue.
|
virtual |
Reimplemented in GRNote, GRSingleNote, GRKey, and GRTab.
|
virtual |
|
virtual |
Reimplemented in GRGlobalStem, GRChordTag, GRBowing, GRGlissando, GRPTagARNotationElement, GRText, GRHarmony, GRSymbol, GRRange, and GRGlobalLocation.
|
virtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GRKey, GRCompositeNotationElement, GRBar, and GRARCompositeNotationElement.
|
virtual |
Reimplemented from GObject.
Reimplemented in GRSystemSlice, GRGlobalStem, GRKey, GRGlobalLocation, GRText, GRHarmony, GRSymbol, GRRepeatBegin, GRRepeatEnd, GRBar, GRGlue, GREvent, GRSingleNote, GRClef, GRMeter, and GRARCompositeNotationElement.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Reimplemented from GObject.
Reimplemented in GRSingleRest, GRArticulation, GRKey, GRStaccato, GRSpecial, GRText, GRHarmony, GRSymbol, GREvent, GRSingleNote, and GRARCompositeNotationElement.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Reimplemented from GObject.
Reimplemented in GRBeam, GRStaccato, GRTrill, GRCluster, GRArpeggio, GRTempoChange, GRTremolo, GRSingleNote, GRBowing, GRGlissando, GRSystemSlice, GRSingleRest, GRVolta, GRRepeatBegin, GRBar, GREmpty, GRDynamics, GRDummy, GRText, GRHarmony, GRSymbol, GRFingering, GRArticulation, GRTuplet, GRGrace, GROctava, GRGlobalStem, GRGlobalLocation, GRChordTag, and GRGlue.
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |