|
static RE_Font & | get (const FONT_Info &font_info, float size) |
|
static RE_Font & | get (const char *font_name, float size) |
|
static RE_Font & | get (RE_Font &font, FONT_Variant variant) |
|
static RE_Font & | emptyFont () |
|
class | re_FontCache |
| The size, in points, of this font. More...
|
|
class | RE_RenderUI |
| The size, in points, of this font. More...
|
|
static void | renderFontDeferData (RE_Render *r, UT_Array< RE_FontDeferData > &deferData) |
| Performs rendering of the render data generated by createFontDeferData. More...
|
|
static void | createFontDeferData (RE_Render *r, const UT_StringArray &strings, const UT_Array< RE_Font * > &fonts, const UT_Array< UT_Unicode::transform * > &xforms, const UT_Array< UT_FRGBA > &clrs, const UT_Array< UT_Vector3F > &positions, fpreal32 sx, fpreal32 sy, fpreal32 tx, fpreal32 ty, UT_Array< RE_FontDeferData > &defer_data, bool use_shared_font_buffers) |
|
float | getAscender () |
|
float | getDescender () |
|
float | getHeight () |
|
float | getXHeight () |
|
float | getUnderlinePos () |
|
float | getUnderlineThickness () |
|
bool | hasGlyph (utf32 cp) |
| Returns true if the font contains a glyph for the given code point. More...
|
|
float | getHorizAdvance (utf32 cp) |
|
float | getHorizAdvance (utf32 cp, utf32 cp_next) |
|
float | getStringWidth (const utf8 *s, const utf8 *e=nullptr, const UT_Unicode::transform *cp_xform=nullptr) |
| Get the width of a string, including all kerning adjustments. More...
|
|
float | getStringWidth (const UT_StringView &str, const UT_Unicode::transform *cp_xform=nullptr) |
| The size, in points, of this font. More...
|
|
float | getStringWidth (const UT_String &str, const UT_Unicode::transform *cp_xform=nullptr) |
| The size, in points, of this font. More...
|
|
float | getStringWidth (const UT_StringRef &str, const UT_Unicode::transform *cp_xform=nullptr) |
| The size, in points, of this font. More...
|
|
float | getStringWidth (const UT_WorkBuffer &str, const UT_Unicode::transform *cp_xform=nullptr) |
| The size, in points, of this font. More...
|
|
bool | isStringWiderThan (const utf8 *s, const utf8 *e, float width, const UT_Unicode::transform *cp_xform=nullptr) |
|
bool | isStringWiderThan (const UT_StringView &str, float width, const UT_Unicode::transform *cp_xform=nullptr) |
| The size, in points, of this font. More...
|
|
bool | getTrimmedString (const utf8 *&s, const utf8 *&e, const utf8 *ellipsis, float max_width, bool trim_right, const UT_Unicode::transform *cp_xform=nullptr, float *trimmed_width=nullptr) |
|
bool | splitString (const UT_StringView &s, UT_StringView &left, UT_StringView &right, float max_width, RE_StringSplitType split_type=RE_SST_NARROWER_ONLY, const UT_Unicode::transform *cp_xform=nullptr) |
|
bool | wrapString (const UT_StringView &s, UT_StringViewArray &result, float max_width, float max_height=FLT_MAX, RE_StringSplitType split_type=RE_SST_BOUNDARY_HARD, const UT_Unicode::transform *cp_xform=nullptr) |
|
float | getIntegerWidth (const char *s) |
| Faster String width method for integers. More...
|
|
float | getFloatWidth (const char *s) |
| Faster String width method for floats. More...
|
|
- Examples:
- DM/DM_InfoHook.C, and DM/DM_OverdrawHook.C.
Definition at line 98 of file RE_Font.h.