|
cgv
|
namespace for font support More...
Classes | |
| class | font |
| interface class for fonts. Construct font with the find_font function More... | |
| class | font_face |
| interface class for different faces of a font, which can be constructed from a font More... | |
| class | font_server |
| provides the methods to create and search for fonts More... | |
Typedefs | |
| typedef data::ref_ptr< font_face > | font_face_ptr |
| always use this ref counted pointer to store font faces | |
| typedef data::ref_ptr< font > | font_ptr |
| always use this ref counted pointer to store fonts | |
| typedef data::ref_ptr< font_server > | font_server_ptr |
| ref counted pointer to font server | |
Enumerations | |
| enum | FontFaceAttributes |
| declaration of supported attributes of font faces | |
Functions | |
| font_ptr | find_font (const std::string &font_name) |
| find an installed font by name | |
| font_ptr | default_font (bool mono_space) |
| return platform dependend default font More... | |
| void | enumerate_font_names (std::vector< const char * > &font_names) |
| enumerate the names of all installed fonts | |
| font_server_ptr | get_font_server () |
| return the currently installed font server or 0 if no font server available | |
| void | register_font_server (font_server_ptr fs) |
| install a font server, call this in the on_register method of the server implementation | |
namespace for font support
| CGV_API font_ptr cgv::media::font::default_font | ( | bool | mono_space | ) |
return platform dependend default font
return potentially font driver and platform specific default font