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... | |
Dtk_Font (const Dtk_Font &in) | |
Copy constructor. More... | |
Dtk_Font (Dtk_Font &&in) DTK_NOEXCEPT | |
Move 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 & | operator= (const Dtk_Font &in) |
Copy assignment operator. More... | |
Dtk_Font & | operator= (Dtk_Font &&in) DTK_NOEXCEPT |
Move assignment operator. 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.
Dtk_Font::Dtk_Font | ( | const Dtk_Font & | in | ) |
Copy constructor.
in | Object to copy from. |
Dtk_Font::Dtk_Font | ( | Dtk_Font && | in | ) |
Move constructor.
in | Object to move from. |
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 |
Copy assignment operator.
in | Object to copy from. |
Move assignment operator.
in | Object to move from. |
|
protected |
Font type (Postcript, TrueType)
|
protected |
Font ID.
|
protected |
Font name.