nn::font::Font Class

Syntax

class Font

Description

This is the base class for classes used to manage fonts.

Member Functions

Constructors/Destructors
Font Constructor.
V ~Font Destructor.
Getting Font Data
PV GetWidth Gets the width of the font.
PV GetHeight Gets the font height.
PV GetAscent Gets the ascent of the font.
PV GetDescent Gets the font descent.
PV GetMaxCharWidth Gets the maximum character width included in the font.
PV GetType Gets the font type.
PV GetTextureFormat Gets the texture format of the font.
PV GetLineFeed Gets the font's linefeed width.
PV GetDefaultCharWidths Gets the font's default character width data.
Setting Font Data
PV SetLineFeed Sets the font's linefeed width.
PV SetDefaultCharWidths Sets the font's default character width data.
PV SetAlternateChar Changes the alternate character for the font.
Getting Character Data
PV GetCharWidth Gets the character width of a character.
PV GetCharWidths Gets character width data for a character.
PV GetGlyph Gets glyph data.
PV HasGlyph Determines whether glyph data exists.
Text Encoding
PV GetCharacterCode Gets the character encoding supported by the font.
GetCharStrmReader Gets a CharStrmReader that interprets strings in a character encoding supported by the font.
Getting Sheet Information
PV GetBaselinePos Gets the baseline position.
PV GetCellHeight Gets the cell height.
PV GetCellWidth Gets the cell width.
Texture Interpolation
PV EnableLinearFilter Specifies whether or not linear interpolation of textures is performed while characters are drawn.
PV IsLinearFilterEnableAtSmall Gets whether or not linear interpolation is used when small characters are displayed.
PV IsLinearFilterEnableAtLarge Gets whether or not linear interpolation is used when large characters are displayed.
PV GetTextureWrapFilterValue Gets texture wrapping and filter settings.

CONFIDENTIAL