PixelLightAPI
.
|
#include <FontInfo.h>
Public Member Functions | |
PLGUI_API | FontInfo () |
Constructor. | |
PLGUI_API | FontInfo (const PLCore::String &sFilename, const PLCore::String &sFamily, PLCore::uint32 nHeight, EFontWeight nWeight, EFontStyle nStyle) |
Constructor. | |
PLGUI_API | FontInfo (const FontInfo &cFontInfo) |
Copy constructor. | |
PLGUI_API | ~FontInfo () |
Destructor. | |
PLGUI_API FontInfo & | operator= (const FontInfo &cFontInfo) |
Assignment operator. | |
PLGUI_API bool | operator== (const FontInfo &cFontInfo) const |
Comparison operator. | |
PLGUI_API PLCore::String | GetFilename () const |
Get font file name. | |
PLGUI_API PLCore::String | GetFamily () const |
Get font family. | |
PLGUI_API PLCore::uint32 | GetHeight () const |
Get font height. | |
PLGUI_API EFontWeight | GetWeight () const |
Get font weight. | |
PLGUI_API EFontStyle | GetStyle () const |
Get font style. | |
Protected Attributes | |
PLCore::String | m_sFilename |
PLCore::String | m_sFamily |
PLCore::uint32 | m_nHeight |
EFontWeight | m_nWeight |
EFontStyle | m_nStyle |
Font information.
PLGUI_API PLGui::FontInfo::FontInfo | ( | ) |
Constructor.
PLGUI_API PLGui::FontInfo::FontInfo | ( | const PLCore::String & | sFilename, |
const PLCore::String & | sFamily, | ||
PLCore::uint32 | nHeight, | ||
EFontWeight | nWeight, | ||
EFontStyle | nStyle | ||
) |
PLGUI_API PLGui::FontInfo::FontInfo | ( | const FontInfo & | cFontInfo | ) |
Copy constructor.
[in] | cFontInfo | Font info that is copied |
PLGUI_API PLGui::FontInfo::~FontInfo | ( | ) |
Destructor.
Assignment operator.
[in] | cFontInfo | Font info that is copied |
PLGUI_API bool PLGui::FontInfo::operator== | ( | const FontInfo & | cFontInfo | ) | const |
Comparison operator.
[in] | cFontInfo | Font info that is compared |
PLGUI_API PLCore::String PLGui::FontInfo::GetFilename | ( | ) | const |
Get font file name.
PLGUI_API PLCore::String PLGui::FontInfo::GetFamily | ( | ) | const |
Get font family.
PLGUI_API PLCore::uint32 PLGui::FontInfo::GetHeight | ( | ) | const |
Get font height.
PLGUI_API EFontWeight PLGui::FontInfo::GetWeight | ( | ) | const |
Get font weight.
PLGUI_API EFontStyle PLGui::FontInfo::GetStyle | ( | ) | const |
Get font style.
PLCore::String PLGui::FontInfo::m_sFilename [protected] |
Filename for directly loaded fonts
PLCore::String PLGui::FontInfo::m_sFamily [protected] |
Font family
PLCore::uint32 PLGui::FontInfo::m_nHeight [protected] |
Font height
EFontWeight PLGui::FontInfo::m_nWeight [protected] |
Font weight
EFontStyle PLGui::FontInfo::m_nStyle [protected] |
Font style (normal, italics, ...)
|