#include <DirectPainter.h>
Inheritance diagram for DirectPainter:

Public Member Functions | |
| void | setFont (QFont) |
| DirectPainter (QPaintDevice *) | |
| void | drawFTSymbol (int nglyph, float xpos, float ypos) |
| void | drawFTSymbolEnc (unsigned long code, float xpos, float ypos, int) |
| void | drawText (int, int, QString) |
| float | getPreviousWidth () |
| void | drawNoteLine (float xpos, float ypos, int height) |
| void | drawLine (float, float, float, float) |
| void | drawRect (QCoordsRect) |
| void | drawRect (double, double, double, double) |
| void | drawRect (int, int, int, int) |
| void | drawEllipse (float, float, float, float) |
| void | setBrush (const QColor &) |
| void | setPen (Qt::PenStyle) |
| void | setPen (const QColor &) |
| void | drawStemBar (double, double, double, double) |
| void | end () |
| void | setZoom (ZoomFactor) |
| void | begin () |
| void | setPenColor (const QColor &) |
| void | drawLine (int, int, int, int) |
| float | getPreviousY () |
|
|
il est nécessaire de faire ceci pour l'instancier Implements Painter. |
|
||||||||||||||||||||
|
Draw an ellipse Implements Painter. |
|
||||||||||||||||||||
|
This method draw a music symbol * Implements Painter. |
|
||||||||||||||||
|
Implements Painter. |
|
||||||||||||||||||||
|
draws a rect {(x1,y1),(x2,y2)} Implements Painter. |
|
||||||||||||||||||||
|
draws the stem bar {(x1,y1),(x2,y2)} Implements Painter. |
|
|
il est nécessaire de faire ceci pour l'instancier Implements Painter. |
|
|
For getting the previous with of the precedent Symbol this is not a very clever way of proceeding, we will make up fot this later on * |
|
|
Get the previous height where the symbol has been drawn * |
|
|
sets the brush Implements Painter. |
|
|
This adjust the size of the font to the size of the zoom factor * Implements Painter. |
|
|
sets the pen color Implements Painter. |
|
|
sets the pen Implements Painter. |
|
|
Implements Painter. |
1.3.6