CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdTrVecTtfFontsCache Class Reference

#include <TrVecTtfFontsCache.h>

Inheritance diagram for OdTrVecTtfFontsCache:
OdStaticRxObject< OdTtfFontsCache > OdTrVisTtfFontsCacheClient

Public Member Functions

 OdTrVecTtfFontsCache ()
 
 ~OdTrVecTtfFontsCache ()
 
OdDrawOrderMetafileBase & deviceRefs ()
 
bool useStableFontKey () const
 
void setUseStableFontKey (bool bStableKey)
 
void setUseStableFontKey (OdTrVecDevice *pDevice)
 
const voidgetFontCache (const FontKey &fontKey) const
 
OdTrVisDisplayId getCharMetafile (const void *pFont, OdUInt32 uChar, double *pSideMult=NULL)
 
void shareToNew (OdTrVecDevice *pDevice)
 
OdRxObjectPtr tfcNewMetafile (void *pSessionId)
 
OdGiConveyorGeometrytfcBeginMetafile (OdRxObject *pMetafile, void *pSessionId)
 
void tfcFinalizeMetafileExt (FontKey &fontKey, CharKey chr, OdRxObject *pMetafile, void *pSessionId)
 
void tfcFinalizeMetafile (OdRxObject *pMetafile, void *pSessionId)
 
void tfcPlayMetafile (const OdGeMatrix3d &xForm, const OdRxObject *pMetafile, void *pSessionId) const
 
- Public Member Functions inherited from OdStaticRxObject< OdTtfFontsCache >
void addRef ()
 
void release ()
 

Protected Member Functions

OdUInt64 getFontKey (const OdGiTextStyle *pTextStyle) const
 
TtfFont getFontCache (OdUInt64 fontKeyPartA, OdUInt64 fontKeyPartB) const
 
OdTrVisDisplayId getCharMetafile (TtfFont pFont, OdUInt32 uChar, double *pSideMult=NULL) const
 

Protected Attributes

OdStaticRxObject< OdDrawOrderMetafileBase > m_deviceRefs
 
bool m_bStableKey
 

Additional Inherited Members

- Public Types inherited from OdTrVisTtfFontsCacheClient
typedef const voidTtfFont
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 48 of file TrVecTtfFontsCache.h.

Constructor & Destructor Documentation

◆ OdTrVecTtfFontsCache()

OdTrVecTtfFontsCache::OdTrVecTtfFontsCache ( )

◆ ~OdTrVecTtfFontsCache()

OdTrVecTtfFontsCache::~OdTrVecTtfFontsCache ( )

Member Function Documentation

◆ deviceRefs()

OdDrawOrderMetafileBase& OdTrVecTtfFontsCache::deviceRefs ( )
inline

Definition at line 57 of file TrVecTtfFontsCache.h.

◆ getCharMetafile() [1/2]

OdTrVisDisplayId OdTrVecTtfFontsCache::getCharMetafile ( const void pFont,
OdUInt32  uChar,
double *  pSideMult = NULL 
)

◆ getCharMetafile() [2/2]

OdTrVisDisplayId OdTrVecTtfFontsCache::getCharMetafile ( TtfFont  pFont,
OdUInt32  uChar,
double *  pSideMult = NULL 
) const
inlineprotectedvirtual

Implements OdTrVisTtfFontsCacheClient.

Definition at line 77 of file TrVecTtfFontsCache.h.

◆ getFontCache() [1/2]

const void* OdTrVecTtfFontsCache::getFontCache ( const FontKey &  fontKey) const

◆ getFontCache() [2/2]

TtfFont OdTrVecTtfFontsCache::getFontCache ( OdUInt64  fontKeyPartA,
OdUInt64  fontKeyPartB 
) const
inlineprotectedvirtual

Implements OdTrVisTtfFontsCacheClient.

Definition at line 75 of file TrVecTtfFontsCache.h.

◆ getFontKey()

OdUInt64 OdTrVecTtfFontsCache::getFontKey ( const OdGiTextStyle pTextStyle) const
protected

◆ setUseStableFontKey() [1/2]

void OdTrVecTtfFontsCache::setUseStableFontKey ( bool  bStableKey)
inline

Definition at line 60 of file TrVecTtfFontsCache.h.

◆ setUseStableFontKey() [2/2]

void OdTrVecTtfFontsCache::setUseStableFontKey ( OdTrVecDevice *  pDevice)

◆ shareToNew()

void OdTrVecTtfFontsCache::shareToNew ( OdTrVecDevice *  pDevice)

◆ tfcBeginMetafile()

OdGiConveyorGeometry* OdTrVecTtfFontsCache::tfcBeginMetafile ( OdRxObject pMetafile,
void pSessionId 
)

◆ tfcFinalizeMetafile()

void OdTrVecTtfFontsCache::tfcFinalizeMetafile ( OdRxObject pMetafile,
void pSessionId 
)

◆ tfcFinalizeMetafileExt()

void OdTrVecTtfFontsCache::tfcFinalizeMetafileExt ( FontKey &  fontKey,
CharKey  chr,
OdRxObject pMetafile,
void pSessionId 
)

◆ tfcNewMetafile()

OdRxObjectPtr OdTrVecTtfFontsCache::tfcNewMetafile ( void pSessionId)

◆ tfcPlayMetafile()

void OdTrVecTtfFontsCache::tfcPlayMetafile ( const OdGeMatrix3d xForm,
const OdRxObject pMetafile,
void pSessionId 
) const

◆ useStableFontKey()

bool OdTrVecTtfFontsCache::useStableFontKey ( ) const
inline

Definition at line 59 of file TrVecTtfFontsCache.h.

Member Data Documentation

◆ m_bStableKey

bool OdTrVecTtfFontsCache::m_bStableKey
protected

Definition at line 52 of file TrVecTtfFontsCache.h.

◆ m_deviceRefs

OdStaticRxObject<OdDrawOrderMetafileBase> OdTrVecTtfFontsCache::m_deviceRefs
protected

Definition at line 51 of file TrVecTtfFontsCache.h.


The documentation for this class was generated from the following file: