#include <spRenderSystemFont.hpp>
List of all members.
Constructor & Destructor Documentation
sp::video::Font::Font |
( |
|
) |
|
sp::video::Font::~Font |
( |
|
) |
|
Member Function Documentation
void* sp::video::Font::getBufferRawData |
( |
|
) |
const [inline] |
Returns a pointer to the renderer specific buffer raw data. This is only used internally. Only use this when you have created the font manually.
const std::vector<SFontGlyph>& sp::video::Font::getGlyphList |
( |
|
) |
const [inline] |
s32 sp::video::Font::getHeight |
( |
|
) |
const [inline] |
Returns the font's height. This is equivalent to "getSize().Height".
- Note:
- To get the font's width use the "getSize" function. This is an exeptional case because normally only the font's height is important.
- See also:
- getSize
io::stringc sp::video::Font::getName |
( |
|
) |
const [inline] |
Returns the font's name (e.g. "Times New Roman").
s32 sp::video::Font::getStringHeight |
( |
const io::stringc & |
Text |
) |
const |
Returns the height of the specified text with regard to the line breaks.
Returns the size of the specified text.
s32 sp::video::Font::getStringWidth |
( |
const io::stringc & |
Text |
) |
const |
Returns the width of the specified text.
Returns the texture if this font is a texture font.
Friends And Related Function Documentation
friend class Direct3D11Driver [friend] |
The documentation for this class was generated from the following files: