CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGiMetafile Class Referenceabstract

#include <GiMetafile.h>

Inheritance diagram for OdGiMetafile:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiMetafile)
 
virtual OdUInt32 dataSize () const =0
 
virtual void bitsData (OdUInt8 *pBytes) const =0
 
virtual const OdUInt8bitsData () const
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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 OdRxClassdesc ()
 

Detailed Description

Represents a metafile within the ODA Platform vectorization framework.

<group OdGi_Classes>

Definition at line 39 of file GiMetafile.h.

Member Function Documentation

◆ bitsData() [1/2]

virtual const OdUInt8 * OdGiMetafile::bitsData ( ) const
inlinevirtual

Retrieves the metafile data from this object, either in the older Windows format or in the new enhanced format.

Returns
pointer to the bit data.
Remarks
If the OdUInt8* bitsData() version of this function returns NULL, a direct pointer to the data could not be returned, and the bitsData(OdUInt8* pBytes) version of this function should be called instead.

Definition at line 73 of file GiMetafile.h.

◆ bitsData() [2/2]

virtual void OdGiMetafile::bitsData ( OdUInt8 pBytes) const
pure virtual

Retrieves the metafile data from this object, either in the older Windows format or in the new enhanced format.

Parameters
pBytes[out] Receives the metafile data (caller must ensure that enough memory has been allocated).

◆ dataSize()

virtual OdUInt32 OdGiMetafile::dataSize ( ) const
pure virtual

Retrieves the size of the metafile data within this object.

Returns
size of the metafile data as OdUInt32 value.

◆ ODRX_DECLARE_MEMBERS()

OdGiMetafile::ODRX_DECLARE_MEMBERS ( OdGiMetafile  )

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