|
| ScalableFont (FontWithFace *face) |
|
FontSettings * | getFontSettings () |
|
const FontSettings * | getFontSettings () const |
|
virtual void | setScale (float scale) |
|
virtual float | getScale () const |
|
void | setShadow (const irr::video::SColor &col) |
|
void | disableShadow () |
|
void | setBlackBorder (bool enabled) |
|
void | setColoredBorder (const irr::video::SColor &col) |
|
void | setThinBorder (bool thin) |
|
void | disableColoredBorder () |
|
void | draw (const core::stringw &text, const core::rect< s32 > &position, const video::SColor &color, bool hcenter, bool vcenter, const core::rect< s32 > *clip, bool ignoreRTL) |
|
virtual void | draw (const core::stringw &text, const core::rect< s32 > &position, video::SColor color, bool hcenter=false, bool vcenter=false, const core::rect< s32 > *clip=0) |
| draws an text and clips it to the specified rectangle if wanted
|
|
virtual void | drawQuick (const core::stringw &text, const core::rect< s32 > &position, video::SColor color, bool hcenter=false, bool vcenter=false, const core::rect< s32 > *clip=0) |
|
virtual void | draw (const std::vector< GlyphLayout > &gls, const core::rect< s32 > &position, video::SColor color, bool hcenter=false, bool vcenter=false, const core::rect< s32 > *clip=0) |
|
virtual void | initGlyphLayouts (const core::stringw &text, std::vector< GlyphLayout > &gls, u32 shape_flag=0) |
| Convert text to glyph layouts for fast rendering with optional caching enabled.
|
|
virtual core::dimension2d< u32 > | getDimension (const wchar_t *text) const |
| returns the dimension of a text
|
|
virtual s32 | getHeightPerLine () const |
|
virtual s32 | getCharacterFromPos (const wchar_t *text, s32 pixel_x) const |
| Calculates the index of the character in the text which is on a specific position.
|
|
virtual EGUI_FONT_TYPE | getType () const |
| Returns the type of this font.
|
|
virtual IGUISpriteBank * | getSpriteBank () const |
| gets the sprite bank
|
|
virtual u32 | getSpriteNoFromChar (const wchar_t *c) const |
| returns the sprite number from a given character, unused in STK
|
|
virtual void | setKerningWidth (s32 kerning) |
| set an Pixel Offset on Drawing ( scale position on width )
|
|
virtual void | setKerningHeight (s32 kerning) |
|
virtual s32 | getKerningWidth (const wchar_t *thisLetter=0, const wchar_t *previousLetter=0) const |
| set an Pixel Offset on Drawing ( scale position on width )
|
|
virtual s32 | getKerningHeight () const |
|
virtual void | setInvisibleCharacters (const wchar_t *s) |
|
virtual f32 | getInverseShaping () const |
|
virtual s32 | getFaceFontMaxHeight () const |
|
virtual s32 | getFaceGlyphMaxHeight () const |
|