nw::font::ResFontBase Classclass ResFontBase : public nw::font::Font
The base class for the font classes handling resources.
typedef Definitions| Other | |||
|---|---|---|---|
| protected S | GLYPH_INDEX_NOT_FOUND | const GlyphIndex | |
| S | INVALID_CHARACTER_CODE | const CharCode |
(Derived from Font) |
| Getting Sheet Information | ||
|---|---|---|
| protected V | GetActiveSheetNum | Gets the number of active sheets. |
| protected | GetTextureObjectsBufferPtr | Gets pointer to texture object buffer. |
| SetTextureObjectsBufferPtr | Sets pointer to the texture object buffer. | |
| GenTextureNames | Generates the texture name. | |
| DeleteTextureNames | ||
| V | GetBaselinePos | Gets the baseline position. |
| V | GetCellHeight | Gets the cell height. |
| V | GetCellWidth | Gets the cell width. |
| Constructors/Destructors | ||
| ResFontBase | Constructor. | |
| V | ~ResFontBase | Destructor. |
| Getting Font Data | ||
| V | GetWidth | Gets the width of the font. |
| V | GetHeight | Gets the font height. |
| V | GetAscent | Gets the ascent of the font. |
| V | GetDescent | Gets the font descent. |
| V | GetMaxCharWidth | Gets the maximum character width included in the font. |
| V |
GetType
|
Gets the font type. |
| V | GetTextureFormat | Gets the texture format of the font. |
| V | GetLineFeed | Gets the size of the font's linefeed. |
| V | GetDefaultCharWidths | Gets the font's default character width data. |
| Setting Font Data | ||
| V | SetLineFeed | Sets the linefeed width of the font. |
| V | SetDefaultCharWidths | Sets the font's default character width data. |
| V | SetAlternateChar | Changes the alternate character for the font. |
| Getting Character Data | ||
| V | GetCharWidth | Gets the character width of a character. |
| V | GetCharWidths | Gets character width data for characters. |
| V | GetGlyph | Gets glyph data. |
| V | HasGlyph | Gets the existence (or nonexistence) of glyph data. |
| Text Encoding | ||
| V | GetCharacterCode | Gets the character code supported by the font. |
| GetCharStrmReader | Gets CharStrmReader, used to interpret text in the character code format the font supports.(Derived from Font) |
|
| Texture Interpolation | ||
| V | EnableLinearFilter | Specifies whether or not linear interpolation of textures is performed while characters are drawn. |
| V | IsLinearFilterEnableAtSmall | Gets whether or not linear interpolation is to be carried out when small characters are displayed. |
| V | IsLinearFilterEnableAtLarge | Gets whether or not linear interpolation is to be carried out when large characters are displayed. |
| V | GetTextureWrapFilterValue | Gets the values for the texture's wrap and filter settings. |
| Other | ||
| protected | GetFINF | |
| protected | IsManaging | Determines whether the resource font is associated. |
| protected | SetResourceBuffer | Sets pointers to the allocated buffer and the FINF block positioned there. |
| protected | RemoveResourceBuffer | Resets the parameter configured by SetResourceBuffer and returns the pointer to the allocated buffer. |
| protected | GetGlyphIndex | Gets the character glyph index. |
| protected | FindGlyphIndex | Gets the character glyph index. |
| protected | GetCharWidthsFromIndex | Gets the character width of the character corresponding to the glyph index. |
| protected | GetGlyphFromIndex | Gets the glyph data corresponding to the glyph index. |
| protected S | SetGlyphMember | Sets Glyphmembers based on the content of the FontTextureGlyph structure |
nw::font::Font
nw::font::ResFontBase
CONFIDENTIAL