CFx SDK Documentation 2024 SP0
|
#include <TrVisFont.h>
Classes | |
struct | UVRect |
Public Types | |
enum | OdTrVisFontFlag { kNone = 0 , kBold = 1 , kItalic = 1 << 1 , kUnderline = 1 << 2 , kStrikeout = 1 << 3 } |
Public Member Functions | |
~OdTrVisFont () | |
OdTrVisTexturePtr | getTextureForLetter (char c, UVRect &uvRect) const |
OdTrVisTexturePtr | getTexture () const |
OdString | fontName () const |
OdUInt32 | fontSize () const |
OdUInt32 | fontWeight () const |
void | getLetterSize (OdUInt32 &w, OdUInt32 &h) const |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
static OdSmartPtr< OdTrVisFont > | createFont (const OdChar *fontName, OdUInt32 fontSize, OdUInt32 fontWeight, OdUInt8 flags=0, OdTrVisRendition *pRendition=NULL) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
OdTrVisFont () | |
void | setup (const OdChar *fontName, OdUInt32 fontSize, OdUInt32 fontWeight, OdUInt8 flags=0, OdTrVisRendition *pRendition=NULL) |
Protected Attributes | |
OdString | m_fontName |
OdUInt32 | m_fontSize |
OdUInt32 | m_fontWeight |
OdUInt8 | m_flags |
OdTrVisRendition * | m_pRendition |
OdTrVisTexturePtr | m_pTexture |
Definition at line 32 of file TrVisFont.h.
Enumerator | |
---|---|
kNone | |
kBold | |
kItalic | |
kUnderline | |
kStrikeout |
Definition at line 50 of file TrVisFont.h.
|
protected |
OdTrVisFont::~OdTrVisFont | ( | ) |
|
static |
|
inline |
Definition at line 64 of file TrVisFont.h.
|
inline |
Definition at line 65 of file TrVisFont.h.
|
inline |
Definition at line 66 of file TrVisFont.h.
OdTrVisTexturePtr OdTrVisFont::getTexture | ( | ) | const |
OdTrVisTexturePtr OdTrVisFont::getTextureForLetter | ( | char | c, |
UVRect & | uvRect | ||
) | const |
|
protected |
|
protected |
Definition at line 73 of file TrVisFont.h.
|
protected |
Definition at line 70 of file TrVisFont.h.
|
protected |
Definition at line 71 of file TrVisFont.h.
|
protected |
Definition at line 72 of file TrVisFont.h.
|
protected |
Definition at line 74 of file TrVisFont.h.
|
mutableprotected |
Definition at line 76 of file TrVisFont.h.