GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
22 #include "MusicalSymbols.h" 23 #include "GUIDOScoreMap.h" 24 #include "GuidoDefs.h" 62 virtual const char *
getFont()
const {
return 0; }
64 virtual const unsigned char *
getColRef()
const {
return 0; }
66 virtual int getFontSize()
const {
return (
int)(1.5f * LSPACE); }
67 virtual float getSize()
const {
return 1.0f; }
GObject()
Definition: GObject.h:107
void addToBoundingBox(const NVRect &in)
an abstract class to be provided by clients to collect mappings
Definition: GUIDOScoreMap.h:109
NVPoint fPos
Definition: GObject.h:45
virtual const char * getFont() const
Definition: GObject.h:62
NVPoint fScale
Definition: GObject.h:46
The base class for all graphic objects.
Definition: GObject.h:54
float x
Definition: NVPoint.h:68
virtual const char * getFontAttrib() const
Definition: GObject.h:63
virtual bool isGREventClass() const
Definition: GObject.h:92
virtual void DrawBoundingBox(VGDevice &hdc, const VGColor &inBrushColor) const
virtual const unsigned char * getColRef() const
Definition: GObject.h:64
MapInfos()
Definition: GObject.h:48
const NVRect & getBoundingBox() const
Definition: GObject.h:86
virtual ~MapInfos()
Definition: GObject.h:49
A class to propagate device related information.
Definition: GObject.h:42
NVRect & getReferenceBoundingBox()
Definition: GObject.h:90
virtual ~GObject()
Definition: GObject.h:57
virtual void setHPosition(float nx)
Definition: GObject.h:79
Generic platform independant drawing device.
Definition: VGDevice.h:68
Generic class to manipulate device independant colors.
Definition: VGColor.h:34
static float GetSymbolExtent(unsigned int inSymbol)
static bool positionIsOnStaffLine(float inPositionY, float inLSpace)
static std::map< ConstMusicalSymbolID, float > sSymbolExtentMap
Definition: GObject.h:110
virtual void addToOffset(const NVPoint &)
Definition: GObject.h:59
virtual void setPosition(const NVPoint &pos)
Definition: GObject.h:78
Definition: nvstring.h:21
static NVPoint sRefposNone
Definition: GObject.h:111
NVPoint mPosition
Definition: GObject.h:102
const NVPoint & getPosition() const
Definition: GObject.h:80
NVRect mMapping
Definition: GObject.h:104
GuidoElementSelector
Definition: GUIDOScoreMap.h:40
NVRect mBoundingBox
Definition: GObject.h:103
virtual void tellPosition(GObject *caller, const NVPoint &newPosition)
virtual const NVPoint & getOffset() const
Definition: GObject.h:61
virtual float getSize() const
Definition: GObject.h:67
virtual const NVPoint & getReferencePosition() const
Retrieves the Symbol-reference-position with respect to the GUIDO-reference-position.
Definition: GObject.h:76
virtual void OnDraw(VGDevice &hdc) const =0
virtual void GetMap(GuidoElementSelector sel, MapCollector &f, MapInfos &infos) const
Definition: GObject.h:95
virtual int getFontSize() const
Definition: GObject.h:66