Public Types | |
| enum | Weight { Light, Normal, DemiBold, Bold, Black } |
< Data needed to make an actual font More... | |
| enum | StdSz { Control = 0, GraphicsMed, GraphicsSmall, GraphicsLarge, ControlSmall, ControlLarge, Fixed } |
Public Member Functions | |
| FontData (int ptsz=defaultPointSize(), const char *fam=defaultFamily(), Weight wght=defaultWeight(), bool ital=defaultItalic()) | |
| FontData (const char *s) | |
| void | getFrom (const char *) |
| Store/retrieve (in FileMultiString format). | |
| void | putTo (BufferString &) |
| const char * | family () const |
| int | pointSize () const |
| Weight | weight () const |
| bool | isItalic () const |
| void | setFamily (const char *f) |
| void | setPointSize (int ps) |
| void | setWeight (Weight w) |
| void | setItalic (bool yn) |
Static Public Member Functions | |
| static const EnumDef & | WeightDef () |
| static const char ** | WeightNames () |
| static bool | parseEnumWeight (const char *, Weight &) |
| static const char * | getWeightString (Weight) |
| static int | numWeight (Weight) |
| static Weight | enumWeight (int) |
| static const char * | defaultFamily () |
| static int | defaultPointSize () |
| static Weight | defaultWeight () |
| static bool | defaultItalic () |
| static void | setDefaultFamily (const char *f) |
| static void | setDefaultPointSize (int ps) |
| static void | setDefaultWeight (Weight w) |
| static void | setDefaultItalic (bool yn) |
| static const char *const * | universalFamilies () |
| array of strings with null as last element | |
| static const char *const * | defaultKeys () |
| array of strings with null as last element | |
| static const char * | key (StdSz ss) |
Protected Attributes | |
| BufferString | family_ |
| int | pointsize_ |
| Weight | weight_ |
| bool | italic_ |
Static Protected Attributes | |
| static const char * | WeightNames_ [] |
| static const EnumDef | WeightDefinition_ |
| enum FontData::StdSz |
| enum FontData::Weight |
| FontData::FontData | ( | int | ptsz = defaultPointSize(), |
|
| const char * | fam = defaultFamily(), |
|||
| Weight | wght = defaultWeight(), |
|||
| bool | ital = defaultItalic() | |||
| ) | [inline] |
| FontData::FontData | ( | const char * | s | ) | [inline] |
| static const char* FontData::defaultFamily | ( | ) | [static] |
| static bool FontData::defaultItalic | ( | ) | [static] |
| static const char* const* FontData::defaultKeys | ( | ) | [static] |
array of strings with null as last element
| static int FontData::defaultPointSize | ( | ) | [static] |
| static Weight FontData::defaultWeight | ( | ) | [static] |
| static Weight FontData::enumWeight | ( | int | ) | [static] |
| const char* FontData::family | ( | ) | const [inline] |
| void FontData::getFrom | ( | const char * | ) |
Store/retrieve (in FileMultiString format).
| static const char* FontData::getWeightString | ( | Weight | ) | [static] |
| bool FontData::isItalic | ( | ) | const [inline] |
| static const char* FontData::key | ( | StdSz | ss | ) | [static] |
| static int FontData::numWeight | ( | Weight | ) | [static] |
| static bool FontData::parseEnumWeight | ( | const char * | , | |
| Weight & | ||||
| ) | [static] |
| int FontData::pointSize | ( | ) | const [inline] |
| void FontData::putTo | ( | BufferString & | ) |
| static void FontData::setDefaultFamily | ( | const char * | f | ) | [static] |
| static void FontData::setDefaultItalic | ( | bool | yn | ) | [static] |
| static void FontData::setDefaultPointSize | ( | int | ps | ) | [static] |
| static void FontData::setDefaultWeight | ( | Weight | w | ) | [static] |
| void FontData::setFamily | ( | const char * | f | ) | [inline] |
| void FontData::setItalic | ( | bool | yn | ) | [inline] |
| void FontData::setPointSize | ( | int | ps | ) | [inline] |
| void FontData::setWeight | ( | Weight | w | ) | [inline] |
| static const char* const* FontData::universalFamilies | ( | ) | [static] |
array of strings with null as last element
| Weight FontData::weight | ( | ) | const [inline] |
| static const EnumDef& FontData::WeightDef | ( | ) | [static] |
| static const char** FontData::WeightNames | ( | ) | [static] |
BufferString FontData::family_ [protected] |
bool FontData::italic_ [protected] |
int FontData::pointsize_ [protected] |
Weight FontData::weight_ [protected] |
const EnumDef FontData::WeightDefinition_ [static, protected] |
const char* FontData::WeightNames_[] [static, protected] |
1.7.1