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

Public Member Functions | |
| Printer (int nbpages) | |
| void | print () |
| void | setBrush (Qt::BrushStyle) |
| void | setFontFamily (int) |
| void | setFont (QFont) |
| void | setFontSize (double f) |
| void | setTextAlign (int) |
| void | setFTFont (int) |
| void | setFTSize (int) |
| void | drawFTSymbol (int, float, float) |
| void | drawFTSymbolEnc (long unsigned int, float, float, int enc) |
| void | drawNoteLine (float, float, int) |
| void | drawLine (double, double, double, double) |
| void | drawRect (double, double, double, double) |
| void | drawEllipse (float, float, float, float) |
| void | setBrush (const QColor &) |
| void | begin () |
| void | end () |
| bool | isPrinter () |
| QCoordsRect | getBoundingBox (int nglyph) |
| void | setPenColor (const QColor &) |
| void | setPen (const QColor &) |
| void | setPen (Qt::PenStyle) |
| void | drawStemBar (double, double, double, double) |
| void | drawSlur (double, double, double, double, int) |
| void | drawBrace (double, double, double) |
| void | drawText (double, double, QString) |
| float | width () |
| void | newPage () |
| void | addFont (QString filename) |
| void | addResource (QString filename) |
| void | drawFontGlyph (float bx, float by, int glyph, QString font) |
| float | height () |
| void | send (char *destname) |
|
|
This is the default constructor of a printer |
|
|
Cette méthode ajoute la fonte elle est a appeler juste après l'entête. L'ajout se fait immédiatement après l'écriture de l'entête |
|
|
This method add encoding resource. I did not understtand really what it does, I just did a copyPaste |
|
|
This method writes the header of the file ps genrated by the ps file
Implements Painter. |
|
||||||||||||||||
|
This draws a brace on the printer
Implements Painter. |
|
||||||||||||||||||||
|
The draw ellipse is not yet implemented on the printer Implements Painter. |
|
||||||||||||||||||||
|
Warning : Postscript uses an octal representation of characters |
|
||||||||||||||||
|
Draws a freetype symbol Implements Painter. |
|
||||||||||||||||||||
|
draws the line {(x1,y1),(x2,y2)} Implements Painter. |
|
||||||||||||||||
|
Implements Painter. |
|
||||||||||||||||||||
|
draws a rect {(x1,y1),(x2,y2)} Implements Painter. |
|
||||||||||||||||||||||||
|
draws the brace tying {(x1,y1),(x2,y2)} of direction d Implements Painter. |
|
||||||||||||||||||||
|
draws the stem bar {(x1,y1),(x2,y2)} Implements Painter. |
|
||||||||||||||||
|
This draws some text. Warning : There is still some concern with the encoding, for instance :
Implements Painter. |
|
|
End the printing, various settings like the page size remains to be implemented. This is only at this stage that the printing is done Implements Painter. |
|
|
Not implemented Implements Painter. |
|
|
Reimplemented from Painter. |
|
|
Draws a new page Reimplemented from Painter. |
|
|
Cette méthode imprime dans le fichier |
|
|
The color is not yet implemented on the printer Implements Painter. |
|
|
set PenColor has the same role that setPen we should remove it Implements Painter. |
|
|
This set the font Implements Painter. |
|
|
Function relative to text Implements Painter. |
|
|
Donne sa taille à la fonte couramment utilisée Implements Painter. |
|
|
Function related to the musicaldont Implements Painter. |
|
|
Methods related to the Freetype Font Implements Painter. |
|
|
The setPen is not yet implemented on the printer Implements Painter. |
|
|
sets the pen color Implements Painter. |
|
|
Implements Painter. |
|
|
Set the text alignement. This is maybe unecessary to duplicate this function in all the chlidren of Painter. Implements Painter. |
1.3.6