OpendTect
7.0
|
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()) | |
~FontData () | |
Calls getFrom. More... | |
const char * | family () const |
bool | getFrom (const char *fms) |
Store/retrieve (in FileMultiString format). More... | |
bool | isItalic () const |
bool | operator!= (const FontData &) const |
FontData & | operator= (const FontData &) |
bool | operator== (const FontData &) const |
int | pointSize () const |
void | putTo (BufferString &) const |
void | setFamily (const char *f) |
void | setItalic (bool yn) |
void | setPointSize (int ps) |
void | setStyleName (const char *) |
void | setWeight (Weight w) |
const char * | styleName () const |
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_ = defaultFamily() |
bool | italic_ = defaultItalic() |
int | pointsize_ = defaultPointSize() |
BufferString | stylename_ = "Regular" |
Weight | weight_ = defaultWeight() |
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 | ) |
FontData::~FontData | ( | ) |
Calls getFrom.
|
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 |
|
inline |
void FontData::putTo | ( | BufferString & | ) | const |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
void FontData::setStyleName | ( | const char * | ) |
|
inline |
const char* FontData::styleName | ( | ) | const |
|
static |
array of strings with null as last element
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024