Public Member Functions | |
| bool | realize () const |
| allocates resources, returns true if resources could be allocated. More... | |
| GDim | textSize (GString const &text, bool richtext, GTextAttributes const *={}) const |
| returns the size of one line of text. More... | |
value of a GFont.
| bool guit::GFontValue::realize | ( | ) | const |
allocates resources, returns true if resources could be allocated.
does not reallocate resources if already done.
| GDim guit::GFontValue::textSize | ( | GString const & | text, |
| bool | richtext, | ||
| GTextAttributes const * | attrs = {} |
||
| ) | const |
returns the size of one line of text.
does not take multiple lines into account, see GText for that purpose.
1.8.4