#include <MusicSymbol.h>
Inheritance diagram for SimpleMusicSymbol:

Public Member Functions | |
| SimpleMusicSymbol (int, QString n, float, float, int=-1) | |
| virtual void | draw (Painter *) |
| virtual Collider * | getCollider () |
| virtual QCoordsRect | getBoundingBox () |
| virtual QPoint | getHotSpot () |
Protected Attributes | |
| int | nglyph |
| unsigned long | enc |
|
||||||||||||||||||||||||
|
Constructor of a simple music symbol It is build on a parameter containinn the number of the glyph in the font
|
|
|
This method draw is defined but useless if we define it as pure virtual (As it should be) Implements MusicSymbol. Reimplemented in SmallClefSol, SmallClefFa, and NoteHMS. |
|
|
This return a bounding box. This method will be used for refreshment and by the Graphical disposers (graphicalsrc/) so two symbol doesnt collide. Two coverings bounding box suppose that the typo is not well done. |
|
|
Because this function is cost lots of CPU and . We override it in the most common symbol (NoteHeads)
Implements MusicSymbol. Reimplemented in NoteHMS. |
|
|
The hot spot is the point to be considered when interacting with the mouse exchanges on Screen Mouse go true this point.
Reimplemented from MusicSymbol. |
1.3.6