CartoType API
Public Member Functions | Public Attributes
CartoType::TTextMetrics Class Reference

#include <cartotype_graphics.h>

List of all members.

Public Member Functions

void Clear ()

Public Attributes

TPointFixed iAdvance
TFixed iLength
TRectiBounds
int32 iCharacters

Detailed Description

Text metrics objects are filled in by TFont::DrawText and provide the advance, bounding box, number of characters drawn, etc.


Member Function Documentation

void CartoType::TTextMetrics::Clear ( ) [inline]

Clear the metrics, including any rectangle pointed to by aBounds.


Member Data Documentation

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.


The documentation for this class was generated from the following file: