CFx SDK Documentation
2023 SP0
|
#include <OdFontServices.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdFontServices) | |
virtual void | loadStyleRec (OdGiTextStyle &textStyle, OdDbBaseDatabase *pDb) const =0 |
virtual OdString | getFontFilePath (OdGiTextStyle &textStyle, OdDbBaseDatabase *pDb) const =0 |
virtual OdString | getBigFontFilePath (OdGiTextStyle &textStyle, OdDbBaseDatabase *pDb) const =0 |
virtual OdFontPtr | defaultFont () const =0 |
virtual bool | getTTFParamFromFile (OdString fileName, OdTtfDescriptor &descr) const =0 |
virtual bool | ttfFileNameByDescriptor (const OdTtfDescriptor &descr, OdString &fileName, OdDbBaseHostAppServices *pHost)=0 |
virtual bool | getSystemFontFolders (OdStringArray &aDirs)=0 |
virtual void | collectFilePathsInDirectory (OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*")=0 |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class is the base class for classes that provide platform-dependent font services for Teigha.
Corresponding C++ library: TD_Gi <group Other_Classes>
Definition at line 39 of file OdFontServices.h.
|
pure virtual |
|
pure virtual |
Returns the default OdFont object associated with this FontServices object.
|
pure virtual |
Returns the BigFontFilePath for the specified OdGiTextStyle and OdDbDatabase objects.
textStyle | [in] TextStyle object. |
pDb | [in] Pointer to the database. |
|
pure virtual |
Returns the FontFilePath for the specified OdGiTextStyle and OdDbDatabase objects.
textStyle | [in] TextStyle object. |
pDb | [in] Pointer to the database. |
|
pure virtual |
|
pure virtual |
Retrieval OdTtfDescriptor data from file.
|
pure virtual |
Returns the specified OdGiTextStyle record for the specified OdDbDatabase object.
textStyle | [out] Receives the TextStyle record. |
pDb | [in] Pointer to the database. |
OdFontServices::ODRX_DECLARE_MEMBERS | ( | OdFontServices | ) |
|
pure virtual |
Locates the TTF or TTC file containing the specified font description.