class Font
Defined in:
The C4Slug.h
Font
class encapsulates a text font.
Definition
class Font final : public SlugContainer, public Shared
Member Functions
Font::GetFont |
Returns a new reference to a font object. |
Font::GetFontHeader |
Returns the font header. |
Constructor
Font(FontResource *resource, const char *name);
Font
constructor has private access. The Font::GetFont
function should be used to create font objects.
Description
The Font
object encapsulates the resources needed to manage a text font. New font objects are created by calling the Font::GetFont
function.
Base Classes
SlugContainer |
Font objects are containers that interact with the Slug Library. |
Shared |
Font objects are reference counted. |