CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef ODTRVECTTFFONTSCACHE
26 #define ODTRVECTTFFONTSCACHE
31 #include "../TrVisTtfFontsCacheClient.h"
32 #ifndef OD_TTFFONTSCACHE_SHAREABLENAMESPACE
33 #define OD_TTFFONTSCACHE_SHAREABLENAMESPACE OdTrVecShareableNS
34 #endif // OD_TTFFONTSCACHE_SHAREABLENAMESPACE
35 #include "TtfFontsCache.h"
36 #ifdef OD_TTFFONTSCACHE_SHAREABLENAMESPACE
38 #endif // OD_TTFFONTSCACHE_SHAREABLENAMESPACE
39 #include "ExDrawOrderBase.h"
57 OdDrawOrderMetafileBase &
deviceRefs() {
return m_deviceRefs; }
76 {
return (
TtfFont)getFontCache(FontKey(fontKeyPartA, fontKeyPartB)); }
78 {
return const_cast<OdTrVecTtfFontsCache*
>(
this)->getCharMetafile((
const void *)pFont, uChar, pSideMult); }
83 #endif // ODTRVECTTFFONTSCACHE
void tfcFinalizeMetafileExt(FontKey &fontKey, CharKey chr, OdRxObject *pMetafile, void *pSessionId)
OdStaticRxObject< OdDrawOrderMetafileBase > m_deviceRefs
void setUseStableFontKey(OdTrVecDevice *pDevice)
void tfcPlayMetafile(const OdGeMatrix3d &xForm, const OdRxObject *pMetafile, void *pSessionId) const
bool useStableFontKey() const
OdRxObjectPtr tfcNewMetafile(void *pSessionId)
#define OD_TTFFONTSCACHE_SHAREABLENAMESPACE
OdDrawOrderMetafileBase & deviceRefs()
OdUInt64 getFontKey(const OdGiTextStyle *pTextStyle) const
OdTrVisDisplayId getCharMetafile(TtfFont pFont, OdUInt32 uChar, double *pSideMult=NULL) const
void tfcFinalizeMetafile(OdRxObject *pMetafile, void *pSessionId)
TtfFont getFontCache(OdUInt64 fontKeyPartA, OdUInt64 fontKeyPartB) const
void shareToNew(OdTrVecDevice *pDevice)
void setUseStableFontKey(bool bStableKey)
const void * getFontCache(const FontKey &fontKey) const
OdGiConveyorGeometry * tfcBeginMetafile(OdRxObject *pMetafile, void *pSessionId)
OdTrVisDisplayId getCharMetafile(const void *pFont, OdUInt32 uChar, double *pSideMult=NULL)