#include <FTFont.h>
Public Member Functions | |
| FTFont (QString path) | |
| QString | getPath (QString, QString) |
| QPoint | getFTOrg (int) |
| void | setFTFontSize (int size) |
| QImage | getImage (int nglyph) |
| QImage | getImageTransformed (int nglyph, double x00, double x01, double x10, double x11) |
| QString | getPath (QString) |
| uchar * | getUmap (int) |
| uchar * | getUmap (FT_Glyph) |
| FT_Bitmap | renderBmp (int) |
| FT_Bitmap | renderBmp (FT_Glyph) |
| QImage | getImageEnc (unsigned long nglyph, int) |
| QBitmap | getMonoImage (int nglyph) |
| int | getFTSize () |
| int | getFirstChar () |
| int | getNextChar (int) |
| int | getGlyphEnc (unsigned long int,int enc) |
| void | displayASCII (FT_Bitmap) |
| void | displayASCII (uchar *) |
| FT_Glyph | transformGlyph (int, double x00, double x01, double x10, double x11) |
| QCoordsRect | getBoundingBox (int nglyph) |
| QCoordsRect | getBoundingBoxEnc (unsigned long i, int enc) |
| FT_GlyphSlot | slot () |
| void | setRez (int) |
| void | setRez (int, int) |
Public Attributes | |
| int | error |
As a music notation program has a very particuliar way of usig font I choose to use my own font manager (Freetype)
*
|
|
Constructor of a freetype font. Initialization of the lib |
|
|
This is an overloaded method provided for convinience |
|
|
Display the ASCII representation of a symbol |
|
|
|
|
|
Retrouve l'origine d'un point |
|
|
|
|
||||||||||||
|
|
|
|
Compute the render of a glyph * |
|
||||||||||||
|
Compute the rendering of a glyph in the current encoding
|
|
||||||||||||||||||||||||
|
destroy the image map. Later we will think about a hash not to destroy this beautiful work of allocation and rendering |
|
|
|
|
|
|
|
|
Compute the umap of a glyph
|
|
|
/return the umap for building an image |
|
|
|
|
|
|
|
|
Warning this function is very tied to the set res fonction. Since they have the same effect. Every change ont the font size finally cause a change on the resolution. This could be wrong in the case of non proportionnal font. But I hope we never meet it in music notation. |
|
||||||||||||
|
set the resolution. We give the precedence to the resolution. So
|
|
|
This set the resX and resY to r this is porvide for convenience because in most case we are in isometric resolution
|
|
||||||||||||||||||||||||
|
|
1.3.6