OpenCMISS-Zinc C++ API Documentation
|
Module managing all fonts. More...
#include <font.hpp>
Public Member Functions | |
Fontmodule (cmzn_fontmodule_id in_fontmodule_id) | |
Fontmodule (const Fontmodule &fontModule) | |
Fontmodule & | operator= (const Fontmodule &fontModule) |
bool | isValid () const |
cmzn_fontmodule_id | getId () const |
Font | createFont () |
Font | findFontByName (const char *name) |
int | beginChange () |
int | endChange () |
Font | getDefaultFont () |
int | setDefaultFont (const Font &font) |
Protected Attributes | |
cmzn_fontmodule_id | id |
Module managing all fonts.
Module managing all fonts.
|
inline |
Begin caching or increment cache level for this font module. Call this function before making multiple changes to minimise number of change messages sent to clients. Must remember to end change after completing changes. Can be nested.
|
inline |
Create and return a new font.
font will belong to.
|
inline |
Decrement cache level or end caching of changes for the font module. Call fontmodule begin change before making multiple changes and call this afterwards. When change level is restored to zero, cached change messages are sent out to clients.
|
inline |
Find the font with the specified name, if any.
name | The name of the font. |
|
inline |
Get the default font, if any.
|
inline |
Return the C handle of the Fontmodule object.
|
inline |
Check if this is a valid Fontmodule object.
|
inline |
Set the default font.
font | The font to set as default. |