#include <OGLFT.h>
Inheritance diagram for OGLFT::Raster::
Public Methods | |
Raster (const char *filename, float point_size=12, FT_UInt resolution=100) | |
Raster (FT_Face face, float point_size=12, FT_UInt resolution=100) | |
virtual | ~Raster (void) |
void | setCharacterRotationZ (GLfloat character_rotation_z) |
GLfloat | characterRotationZ (void) const |
double | height (void) const |
BBox | measure (unsigned char c) |
BBox | measure (const QChar c) |
BBox | measure (const char *s) |
BBox | measure (const QString &format, double number) |
Protected Attributes | |
GLfloat | character_rotation_z_ |
Raster glyph can be rotated in the Z plane (in addition to the string rotation). |
In the raster styles, FreeType's rasterizer is used to generate raster images of each glyph.
|
|
|
|
|
The destructor doesn't do anything in particular. |
|
Reimplemented from OGLFT::Face. |
|
Reimplemented from OGLFT::Face. |
|
Implement measuring a formatted number
Reimplemented from OGLFT::Face. |
|
Measure a string of characters. Note: currently, this merely calls Face's measure routine.
Reimplemented from OGLFT::Face. |
|
Implement measuring a character in a raster face.
Reimplemented from OGLFT::Face. |
|
Implement measuring a character in a raster face.
Reimplemented from OGLFT::Face. |
|
Set the individual character rotation in the Z direction.
Reimplemented from OGLFT::Face. |