OpendTect-6_4
6.4
|
Data needed to make an actual font. More...
Public Types | |
enum | Weight { Light, Normal, DemiBold, Bold, Black } |
enum | StdSz { Control =0, Graphics2D, Graphics3D, Fixed, Graphics2DSmall, Graphics2DLarge, ControlSmall, ControlLarge } |
Public Member Functions | |
mDeclareEnumUtils (Weight) static int numWeight(Weight) | |
FontData (int ptsz=defaultPointSize(), const char *fam=defaultFamily(), Weight wght=defaultWeight(), bool ital=defaultItalic()) | |
FontData (const char *fms) | |
bool | getFrom (const char *fms) |
Calls getFrom. More... | |
void | putTo (BufferString &) const |
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 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 More... | |
static const char *const * | defaultKeys () |
array of strings with null as last element More... | |
static const char * | key (StdSz ss) |
Protected Attributes | |
BufferString | family_ |
int | pointsize_ |
Weight | weight_ |
bool | italic_ |
Data needed to make an actual font.
enum FontData::StdSz |
enum FontData::Weight |
FontData::FontData | ( | int | ptsz = defaultPointSize() , |
const char * | fam = defaultFamily() , |
||
Weight | wght = defaultWeight() , |
||
bool | ital = defaultItalic() |
||
) |
FontData::FontData | ( | const char * | fms | ) |
|
static |
|
static |
|
static |
array of strings with null as last element
|
static |
|
static |
|
static |
|
inline |
bool FontData::getFrom | ( | const char * | fms | ) |
Calls getFrom.
Store/retrieve (in FileMultiString format).
|
inline |
|
static |
FontData::mDeclareEnumUtils | ( | Weight | ) |
|
inline |
void FontData::putTo | ( | BufferString & | ) | const |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
array of strings with null as last element
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019