|
SDL Window Engine
20200905
|
базовый класс рендера TTF шрифта Подробнее...
#include <swe_fontset.h>
Открытые члены | |
| FontRenderTTF (const std::string &, size_t fsz, const CharRender &=RenderSolid, int style=StyleNormal, const CharHinting &=HintingNormal) | |
| FontRenderTTF (const BinaryBuf &, size_t fsz, const CharRender &=RenderSolid, int style=StyleNormal, const CharHinting &=HintingNormal) | |
| void | setShadedBackground (const Color &) |
| void | reset (void) |
| bool | open (const std::string &, size_t fsz, const CharRender &=RenderSolid, int style=StyleNormal, const CharHinting &=HintingNormal) |
| bool | load (const BinaryBuf &, size_t fsz, const CharRender &=RenderSolid, int style=StyleNormal, const CharHinting &=HintingNormal) |
| const FontID & | id (void) const override |
| bool | isValid (void) const override |
| bool | isTTF (void) const override |
| TTF_Font * | toSDLFont (void) const |
| Size | stringSize (const std::string &, bool horizontal=true) const override |
| Size | unicodeSize (const UnicodeString &, bool horizontal=true) const override |
| int | symbolAdvance (int sym) const override |
| int | lineSkipHeight (void) const override |
| Surface | renderCharset (int, const Color &, const CharRender &=RenderDefault, int style=StyleDefault, const CharHinting &=HintingDefault) const override |
| Surface | renderString (const std::string &, const Color &, const CharRender &=RenderDefault, int style=StyleDefault, const CharHinting &=HintingDefault) const |
| Surface | renderUnicode (const UnicodeString &, const Color &, const CharRender &=RenderDefault, int style=StyleDefault, const CharHinting &=HintingDefault) const |
Открытые члены унаследованные от SWE::FontRender | |
| FontRender (const Size &fsz) | |
| UCStringList | splitUCStringWidth (const UCString &, int) const |
| UnicodeList | splitUnicodeWidth (const UnicodeString &, int) const |
| StringList | splitStringWidth (const std::string &, int) const |
| const Size & | size (void) const |
| void | renderString (const std::string &, const Color &, const Point &, Surface &) const |
Дополнительные унаследованные члены | |
Открытые статические члены унаследованные от SWE::FontRender | |
| static void | clearCache (void) |
| static void | dumpCache (void) |
Защищенные данные унаследованные от SWE::FontRender | |
| Size | fontSize |
базовый класс рендера TTF шрифта
1.8.14