GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
The base class for all graphic objects. More...
Public Member Functions | |
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... | |
virtual void | setPosition (const NVPoint &pos) |
virtual void | setHPosition (float nx) |
const NVPoint & | getPosition () const |
virtual void | tellPosition (GObject *caller, const NVPoint &newPosition) |
const NVRect & | getBoundingBox () const |
void | addToBoundingBox (const NVRect &in) |
NVRect & | getReferenceBoundingBox () |
virtual bool | isGREventClass () const |
virtual void | OnDraw (VGDevice &hdc) const =0 |
virtual void | GetMap (GuidoElementSelector sel, MapCollector &f, MapInfos &infos) const |
virtual void | DrawBoundingBox (VGDevice &hdc, const VGColor &inBrushColor) const |
Static Public Member Functions | |
static bool | positionIsOnStaffLine (float inPositionY, float inLSpace) |
static float | GetSymbolExtent (unsigned int inSymbol) |
Protected Member Functions | |
GObject () | |
GObject (const GObject &in) | |
Protected Attributes | |
NVPoint | mPosition |
NVRect | mBoundingBox |
NVRect | mMapping |
Static Protected Attributes | |
static std::map< ConstMusicalSymbolID, float > | sSymbolExtentMap |
static NVPoint | sRefposNone |
The base class for all graphic objects.
|
inlinevirtual |
|
inlineprotected |
|
protected |
void GObject::addToBoundingBox | ( | const NVRect & | in | ) |
|
inlinevirtual |
Reimplemented in GRSingleNote, GRAccidental, GRStem, GRNoteHead, GREvent, and GRARCompositeNotationElement.
|
virtual |
|
inline |
|
inlinevirtual |
Reimplemented in GREvent, GRGlobalStem, GRFlag, GRNoteDot, GRAccidental, GRPTagARNotationElement, GRStem, GRCluster, GRTagARNotationElement, GRNoteHead, and GRSimpleBeam.
|
inlinevirtual |
Reimplemented in GRTagARNotationElement.
|
inlinevirtual |
Reimplemented in GRTagARNotationElement.
|
inlinevirtual |
Reimplemented in GRStaff, GRPTagARNotationElement, and GRTagARNotationElement.
|
inlinevirtual |
Reimplemented in GRStaff, GRSystem, GRSystemSlice, GRPage, GRSingleNote, GRSingleRest, GRBar, GRClef, GRCluster, GRRepeatEnd, GRRepeatBegin, GRMeter, and GREmpty.
|
inlinevirtual |
Reimplemented in GREvent, GRFlag, GRAccidental, GRNoteDot, GRStem, GRTagARNotationElement, GRPTagARNotationElement, and GRNoteHead.
|
inline |
|
inline |
|
inlinevirtual |
Retrieves the Symbol-reference-position with respect to the GUIDO-reference-position.
It is used for "generic" drawing of graphical symbols from a notation-font. Each symbol has to set the reference position according to font-symbol etc... the refpos is always specified using the "regular" fontsize; when the size parameter is different, the actual offset must be calculated during drawing.
Reimplemented in GRSingleRest, GRFlag, GRBar, GRTrill, GRVolta, GRRepeatEnd, GRArticulation, GRAccidental, GRNoteDot, GRStem, GRClef, GRRepeatBegin, GRJump, GRStdNoteHead, GRBreathMark, GRFinishBar, and GRInstrument.
|
inlinevirtual |
Reimplemented in GREvent, GRFlag, GRNoteDot, GRAccidental, GRStem, GRPTagARNotationElement, GRTagARNotationElement, and GRNoteHead.
|
static |
|
inlinevirtual |
Reimplemented in GREvent.
|
pure virtual |
Implemented in GRNote, GRRest, GRStaff, GRNotationElement, 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.
|
static |
|
inlinevirtual |
Reimplemented in GRSystemSlice, GRGlobalStem, GRKey, GRGlobalLocation, GRNotationElement, GRText, GRHarmony, GRSymbol, GRRepeatBegin, GRRepeatEnd, GRBar, GRGlue, GREvent, GRSingleNote, GRClef, GRMeter, and GRARCompositeNotationElement.
|
inlinevirtual |
Reimplemented in GRSingleRest, GRArticulation, GRKey, GRStaccato, GRSpecial, GRNotationElement, GRText, GRHarmony, GRSymbol, GREvent, GRSingleNote, and GRARCompositeNotationElement.
Reimplemented in GRBeam, GRStaccato, GRNotationElement, 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.
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |