This is the font class This class lets you access to font informations (name, type ...) More...
Public Types | |
enum | FontTypeEnum { FontUnknown = 0, FontTruescript, FontPostscript, FontOpentype } |
Public Member Functions | |
Dtk_Font () | |
Base constructor. More... | |
Dtk_Font (const Dtk_Font &s) | |
Copy constructor. More... | |
Dtk_Font (Dtk_Font &&s) DTK_NOEXCEPT | |
\MoveConstructor{s} 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 &inToBeAssigned) |
Assignment Operator. More... | |
Dtk_Font & | operator= (Dtk_Font &&inToBeMoveed) DTK_NOEXCEPT |
\MoveOp{inToBeMoveed} 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... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const Dtk_Font &d) |
This is the font class This class lets you access to font informations (name, type ...)
Dtk_Font::~Dtk_Font | ( | ) |
Destructor.
Dtk_Font::Dtk_Font | ( | ) |
Base constructor.
Dtk_Font::Dtk_Font | ( | const Dtk_Font & | s | ) |
Copy constructor.
s | Object to copy. |
Dtk_Font::Dtk_Font | ( | Dtk_Font && | s | ) |
\MoveConstructor{s}
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 |
Assignment Operator.
inToBeAssigned | Object to copy. |
|
friend |
|
protected |
Font type (Postcript, TrueType)
|
protected |
Font ID.
|
protected |
Font name.