|
CartoType API
|
#include <cartotype_graphics.h>
Public Member Functions | |
| void | Clear () |
Public Attributes | |
| TPointFixed | iAdvance |
| TFixed | iLength |
| TRect * | iBounds |
| int32 | iCharacters |
Text metrics objects are filled in by TFont::DrawText and provide the advance, bounding box, number of characters drawn, etc.
| void CartoType::TTextMetrics::Clear | ( | ) | [inline] |
Clear the metrics, including any rectangle pointed to by aBounds.
The amount by which the origin is moved by drawing the text.
If this is non-null it receives the bounding rectangle of the pixels drawn.
The number of characters drawn.
The linear distance by which the origin is moved. If text is drawn on a curved path this is not the same as the vector length of iAdvance.
1.7.5.1