This is the font class This class lets you access to font information (name, type ...) More...
Public Types | |
| enum | FontTypeEnum { FontUnknown = 0, FontTruescript, FontPostscript, FontOpentype } |
Public Member Functions | |
| Dtk_Font () | |
| Default constructor. More... | |
| FontTypeEnum & | FontType () |
| Retrieves the font type - get/set -. More... | |
| const FontTypeEnum & | FontType () const |
| Retrieves the font type - read only -. More... | |
| Dtk_Size_t & | ID () |
| Retrieves the font Id - get/set -. More... | |
| const Dtk_Size_t & | ID () const |
| Retrieves the font Id - read only -. More... | |
| Dtk_string & | Name () |
| Retrieves the font name - get/set -. More... | |
| const Dtk_string & | Name () const |
| Retrieves the font name - read only -. More... | |
| ~Dtk_Font () | |
| Destructor. More... | |
Protected Attributes | |
| FontTypeEnum | _font_type |
| Font type (Postcript, TrueType) More... | |
| Dtk_Size_t | _ID |
| Font ID. More... | |
| Dtk_string | _name |
| Font name. More... | |
This is the font class This class lets you access to font information (name, type ...)
| Dtk_Font::~Dtk_Font | ( | ) |
Destructor.
| Dtk_Font::Dtk_Font | ( | ) |
Default constructor.
| FontTypeEnum& Dtk_Font::FontType | ( | ) |
Retrieves the font type - get/set -.
| const FontTypeEnum& Dtk_Font::FontType | ( | ) | const |
Retrieves the font type - read only -.
| Dtk_Size_t& Dtk_Font::ID | ( | ) |
| const Dtk_Size_t& Dtk_Font::ID | ( | ) | const |
| Dtk_string& Dtk_Font::Name | ( | ) |
| const Dtk_string& Dtk_Font::Name | ( | ) | const |
|
protected |
Font type (Postcript, TrueType)
|
protected |
Font ID.
|
protected |
Font name.