Public Types |
| enum | RenderMode {
RMTexture = 0,
RMWireframe = 1,
RMPolygon = 2,
RMExtruded = 3,
RMSolid = 4,
RMInvalid = 5
} |
| enum | WindingOrder { WODefault = 0,
WOLeft = 1,
WORight = 2,
WOInvalid = 3
} |
Public Member Functions |
| float | getLineHeight () |
| | Returns the number of units high each line of text is.
|
| float | getSpaceAdvance () |
| | Returns the number of units wide a space is.
|
| bool | isValid () |
| | Returns true if the font is valid and ready to use, false otherwise.
|
| TextFont | makeCopy () |
| | setLineHeight (float line_height) |
| | Changes the number of units high each line of text is.
|
| | setSpaceAdvance (float space_advance) |
| | Changes the number of units wide a space is.
|
| | write (ostream out, int indent_level) |
Static Public Member Functions |
| static TypeHandle | getClassType () |
An encapsulation of a font; i.e.
a set of glyphs that may be assembled together by a TextNode to represent a string of text.
This is just an abstract interface; see StaticTextFont or DynamicTextFont for an actual implementation.