#include </home/zeitlin/src/wx/github/interface/wx/richtext/richtextbuffer.h>
Manages quick access to a pool of fonts for rendering rich text.
Public Member Functions | |
wxRichTextFontTable () | |
Default constructor. | |
wxRichTextFontTable (const wxRichTextFontTable &table) | |
Copy constructor. | |
virtual | ~wxRichTextFontTable () |
bool | IsOk () const |
Returns true if the font table is valid. | |
wxFont | FindFont (const wxRichTextAttr &fontSpec) |
Finds a font for the given attribute object. | |
void | Clear () |
Clears the font table. | |
void | operator= (const wxRichTextFontTable &table) |
Assignment operator. | |
bool | operator== (const wxRichTextFontTable &table) const |
Equality operator. | |
bool | operator!= (const wxRichTextFontTable &table) const |
Inequality operator. | |
void | SetFontScale (double fontScale) |
Set the font scale factor. | |
Protected Attributes | |
double | m_fontScale |
wxRichTextFontTable::wxRichTextFontTable | ( | ) |
Default constructor.
wxRichTextFontTable::wxRichTextFontTable | ( | const wxRichTextFontTable & | table | ) |
Copy constructor.
virtual wxRichTextFontTable::~wxRichTextFontTable | ( | ) | [virtual] |
void wxRichTextFontTable::Clear | ( | ) |
Clears the font table.
wxFont wxRichTextFontTable::FindFont | ( | const wxRichTextAttr & | fontSpec | ) |
Finds a font for the given attribute object.
bool wxRichTextFontTable::IsOk | ( | ) | const [inline] |
Returns true if the font table is valid.
bool wxRichTextFontTable::operator!= | ( | const wxRichTextFontTable & | table | ) | const [inline] |
Inequality operator.
void wxRichTextFontTable::operator= | ( | const wxRichTextFontTable & | table | ) |
Assignment operator.
bool wxRichTextFontTable::operator== | ( | const wxRichTextFontTable & | table | ) | const |
Equality operator.
void wxRichTextFontTable::SetFontScale | ( | double | fontScale | ) |
Set the font scale factor.
double wxRichTextFontTable::m_fontScale [protected] |