OpendTect
6.6
|
Data needed to make an actual font. More...
Public Types | |
enum | StdSz { Control =0 , Graphics2D , Graphics3D , Fixed , Graphics2DSmall , Graphics2DLarge , ControlSmall , ControlLarge } |
enum | Weight { Light , Normal , DemiBold , Bold , Black } |
Public Member Functions | |
FontData (const char *fms) | |
FontData (int ptsz=defaultPointSize(), const char *fam=defaultFamily(), Weight wght=defaultWeight(), bool ital=defaultItalic()) | |
const char * | family () const |
bool | getFrom (const char *fms) |
Store/retrieve (in FileMultiString format). More... | |
bool | isItalic () const |
bool | operator!= (const FontData &) const |
bool | operator== (const FontData &) const |
Calls getFrom. More... | |
int | pointSize () const |
void | putTo (BufferString &) const |
void | setFamily (const char *f) |
void | setItalic (bool yn) |
void | setPointSize (int ps) |
void | setWeight (Weight w) |
Weight | weight () const |
Static Public Member Functions | |
static const char * | defaultFamily () |
static bool | defaultItalic () |
static const char *const * | defaultKeys () |
array of strings with null as last element More... | |
static int | defaultPointSize () |
static Weight | defaultWeight () |
static Weight | enumWeight (int) |
static const char * | key (StdSz ss) |
static int | numWeight (Weight) |
static void | setDefaultFamily (const char *f) |
static void | setDefaultItalic (bool yn) |
static void | setDefaultPointSize (int ps) |
static void | setDefaultWeight (Weight w) |
static const char *const * | universalFamilies () |
array of strings with null as last element More... | |
Protected Attributes | |
BufferString | family_ |
bool | italic_ |
int | pointsize_ |
Weight | weight_ |
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 | ) |
Store/retrieve (in FileMultiString format).
|
inline |
|
static |
|
static |
bool FontData::operator!= | ( | const FontData & | ) | const |
bool FontData::operator== | ( | const FontData & | ) | const |
Calls getFrom.
|
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. 1995-2022