guit  0.1
 All Classes Functions Variables Typedefs Enumerations Friends
Public Member Functions | List of all members
guit::GFontValue Class Reference

value of a GFont. More...

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...
 

Detailed Description

value of a GFont.

Member Function Documentation

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.


The documentation for this class was generated from the following files: