Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
StaticTextFont Class Reference

A StaticTextFont is loaded up from a model that was previously generated via egg-mkfont, and contains all of its glyphs already generated and available for use. More...

Inheritance diagram for StaticTextFont:
TextFont TypedReferenceCount Namable TypedObject ReferenceCount

List of all members.

Public Member Functions

 StaticTextFont (PandaNode font_def)
 The constructor expects the root node to a model generated via egg-mkfont, which consists of a set of models, one per each character in the font.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

A StaticTextFont is loaded up from a model that was previously generated via egg-mkfont, and contains all of its glyphs already generated and available for use.

It doesn't require linking with any external libraries like FreeType.


Constructor & Destructor Documentation

StaticTextFont ( PandaNode  font_def)

The constructor expects the root node to a model generated via egg-mkfont, which consists of a set of models, one per each character in the font.


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from TextFont.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties