nw::font::Font Classclass Font
This is the base class for classes used to manage fonts.
This class is defined as an abstract class.
| S | INVALID_CHARACTER_CODE | const CharCode |
|---|
| 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 size of the font's linefeed. |
| PV | GetDefaultCharWidths | Gets the font's default character width data. |
| Setting Font Data | ||
| PV | SetLineFeed | Sets the linefeed width of the font. |
| 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 characters. |
| PV | GetGlyph | Gets glyph data. |
| PV | HasGlyph | Gets the existence (or nonexistence) of glyph data. |
| Text Encoding | ||
| PV | GetCharacterCode | Gets the character code supported by the font. |
| GetCharStrmReader | Gets CharStrmReader, used to interpret text in the character code format the font supports. |
|
| 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 to be carried out when small characters are displayed. |
| PV | IsLinearFilterEnableAtLarge | Gets whether or not linear interpolation is to be carried out when large characters are displayed. |
| PV | GetTextureWrapFilterValue | Gets the values for the texture's wrap and filter settings. |
CONFIDENTIAL