Public Member Functions | |
| FontPlatformData (WTF::HashTableDeletedValueType) | |
| FontPlatformData constructor. | |
| FontPlatformData () | |
| FontPlatformData default constructor. | |
| FontPlatformData (const FontDescription &, const AtomicString &family) | |
| FontPlatformData constructor. | |
| FontPlatformData (float size, bool bold, bool italic) | |
| FontPlatformData constructor. | |
| FontPlatformData (BalFontFace *fontFace, int size, bool bold, bool italic) | |
| FontPlatformData constructor. | |
| ~FontPlatformData () | |
| ~FontPlatformData destructor | |
| bool | isFixedPitch () |
| get fixed pitch status | |
| float | size () const |
| get size | |
| void | setFont (BalFont *) const |
| set platform font | |
| unsigned | hash () const |
| hash | |
| bool | operator== (const FontPlatformData &) const |
| operator== | |
| bool | isHashTableDeletedValue () const |
| HashTableDeletedValue status. | |
Static Public Member Functions | |
| static bool | init () |
| init platform data | |
Public Attributes | |
| BalPattern * | m_pattern |
| float | m_size |
| bool | m_syntheticBold |
| bool | m_syntheticOblique |
| BalScaledFont * | m_scaledFont |
| WKAL::FontPlatformData::FontPlatformData | ( | WTF::HashTableDeletedValueType | ) |
FontPlatformData constructor.
| [in] | : | HashTableDeletedValueType FontPlatformData *fpd = new FontPlatformData(hashtable); |
| WKAL::FontPlatformData::FontPlatformData | ( | ) |
| WKAL::FontPlatformData::FontPlatformData | ( | const FontDescription & | , | |
| const AtomicString & | family | |||
| ) |
FontPlatformData constructor.
| [in] | : | font description |
| [in] | : | family name FontPlatformData *fpd = new FontPlatformData(fd, family); |
| WKAL::FontPlatformData::FontPlatformData | ( | float | size, | |
| bool | bold, | |||
| bool | italic | |||
| ) |
FontPlatformData constructor.
| [in] | : | size |
| [in] | : | bold status |
| [in] | : | italic status FontPlatformData *fpd = new FontPlatformData(12, false, false); |
| WKAL::FontPlatformData::FontPlatformData | ( | BalFontFace * | fontFace, | |
| int | size, | |||
| bool | bold, | |||
| bool | italic | |||
| ) |
FontPlatformData constructor.
| [in] | : | platform font face |
| [in] | : | size |
| [in] | : | bold status |
| [in] | : | italic status FontPlatformData *fpd = new FontPlatformData(fontface, 12, false, false); |
| WKAL::FontPlatformData::~FontPlatformData | ( | ) |
~FontPlatformData destructor
delete fontPlatformData;
| static bool WKAL::FontPlatformData::init | ( | ) | [static] |
init platform data
| [out] | : | true if platform data is correctly initialized bool init = fpd->init(); |
| bool WKAL::FontPlatformData::isFixedPitch | ( | ) |
get fixed pitch status
| [out] | : | status bool fixed = fpd->isFixedPitch();
|
| float WKAL::FontPlatformData::size | ( | ) | const |
get size
| [out] | : | size float s = fpd->size();
|
| void WKAL::FontPlatformData::setFont | ( | BalFont * | ) | const |
set platform font
| [in] | : | platform font fpd->setFont(balFont); |
| unsigned WKAL::FontPlatformData::hash | ( | ) | const |
hash
| [out] | : | hash result unsigned fpd->hash();
|
| bool WKAL::FontPlatformData::operator== | ( | const FontPlatformData & | ) | const |
| bool WKAL::FontPlatformData::isHashTableDeletedValue | ( | ) | const |
HashTableDeletedValue status.
| [out] | : | status bool s = fpd->isHashTableDeletedValue();
|
| BalPattern* WKAL::FontPlatformData::m_pattern |
| BalScaledFont* WKAL::FontPlatformData::m_scaledFont |