CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef ODTRVISRENDERCLIENT
26 #define ODTRVISRENDERCLIENT
154 OdUInt32 nSearchBase = 0, nSearchCur;
157 for ( ; nSearchLimit != 0; nSearchLimit >>= 1)
159 nSearchCur = nSearchBase + (nSearchLimit >> 1);
161 if (!nCmp)
return nSearchCur;
162 if (nCmp > 0) { nSearchBase = nSearchCur + 1; nSearchLimit--; }
180 OdUInt32 nSearchBase = 0, nSearchCur = 0;
183 for ( ; nSearchLimit != 0; nSearchLimit >>= 1)
185 nSearchCur = nSearchBase + (nSearchLimit >> 1);
187 if (!nCmp) {
m_dic[nSearchCur].m_pValue = pValue;
return; }
188 if (nCmp > 0) { nSearchBase = nSearchCur + 1; nSearchLimit--; }
190 if (!(pDic[nSearchCur].m_propName.compare(pPropName) < 0))
234 template <
typename RCInterface = OdTrVisRenderClient>
368 #endif // ODTRVISRENDERCLIENT
virtual void setProperty(const OdChar *pPropName, OdRxVariantValue pValue)
virtual bool hasProperty(const OdChar *pPropName) const =0
int compare(const OdChar *otherString) const
virtual ~OdTrVisRenderClient()
virtual bool useVisualStyles() const
void killProp(const OdChar *pPropName)
virtual bool useCompositeMetafiles() const
virtual bool useCompositeMetafiles() const
virtual bool useOverlays() const
virtual int outputWindowHeight() const =0
OdRxVariantValue m_pValue
OdTrVisRenderClientPropsDic m_props
OdRxVariantValue getPropAt(OdUInt32 nProp) const
virtual bool hasDirectRenderBuffer() const
void setRedirection(OdTrVisRenderClient *pRedirection)
virtual bool hasProperty(const OdChar *pPropName) const
virtual bool useOverlays() const
void killPropAt(OdUInt32 nProp)
virtual int outputWindowWidth() const
virtual bool hasDirectRenderBuffer() const
OdTrVisRenderClientWrapper(OdTrVisRenderClient *pRedirection=NULL)
virtual bool useSceneGraph() const
virtual int outputWindowWidth() const =0
OdVector & insertAt(size_type index, const T &value)
bool hasProp(const OdChar *pPropName) const
virtual bool useVisualStyles() const
virtual void emitError(const char *pError)
virtual int outputWindowHeight() const
virtual void emitWarning(const char *pWarn)=0
OdTrVisRenderClientPropsDic()
OdRxVariantValue getProp(const OdChar *pPropName) const
virtual OdUInt32 blendingMode() const
virtual OdUInt32 antiAliasingMode() const
virtual bool useSceneGraph() const
OdVector< DicPair > DicPairsArray
OdUInt32 findProp(const OdChar *pPropName) const
virtual OdUInt32 blendingMode() const
virtual OdRxVariantValue getProperty(const OdChar *pPropName) const
virtual void setProperty(const OdChar *pPropName, OdRxVariantValue pValue)=0
virtual OdUInt8 * getDirectRenderBuffer(OdUInt32 *, OdUInt32 *, OdUInt32 *=NULL, OdUInt32 *=NULL)
virtual const OdTrVisTtfFontsCacheClient * ttfFontsCache() const
virtual const OdTrVisSharingProviderClient * sharingProvider() const
void setPropAt(OdUInt32 nProp, OdRxVariantValue pValue)
virtual OdUInt32 antiAliasingMode() const
virtual OdUInt8 * getDirectRenderBuffer(OdUInt32 *pWidth, OdUInt32 *pHeight, OdUInt32 *pFormat=NULL, OdUInt32 *pAlignment=NULL)
void push_back(const T &value)
virtual bool usePartialUpdate() const
OdVector & removeAt(size_type index)
bool hasRedirection() const
void setProp(const OdChar *pPropName, OdRxVariantValue pValue)
virtual const OdTrVisTtfFontsCacheClient * ttfFontsCache() const
virtual const OdTrVisSharingProviderClient * sharingProvider() const
virtual void setProperty(const OdChar *pPropName, OdRxVariantValue pValue)
OdTrVisRenderClient * m_pRedirection
virtual bool hasProperty(const OdChar *pPropName) const
virtual OdRxVariantValue getProperty(const OdChar *pPropName) const
virtual OdRxVariantValue getProperty(const OdChar *pPropName) const =0
virtual void emitError(const char *pError)=0
virtual bool usePartialUpdate() const
OdTrVisRenderClient * redirection() const
virtual void emitWarning(const char *pWarn)
OdUInt32 numProps() const
DicPair(const OdChar *pPropName, OdRxVariantValue pValue)