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

#include <GsBitMap.h>

Inheritance diagram for OdGsBitMap:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGsBitMap)
 
virtual OdUInt32 width () const =0
 
virtual OdUInt32 height () const =0
 
virtual OdUInt8 bitPerPixel () const =0
 
virtual void create (OdUInt32 width, OdUInt32 height, OdUInt8 bitCount)=0
 
virtual OdUInt32 bitDataSize () const
 
virtual OdUInt32 bytePerLine () const
 
virtual const OdUInt8bits () const =0
 
virtual void setBits (const OdUInt8 *pData, OdUInt32 nSize)=0
 
virtual OdGsPalettepalette ()=0
 
virtual const OdGsPalettepalette () const =0
 
- 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
 

Protected Member Functions

 OdGsBitMap ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

<group OdGs_Classes>

Definition at line 102 of file GsBitMap.h.

Constructor & Destructor Documentation

◆ OdGsBitMap()

OdGsBitMap::OdGsBitMap ( )
inlineprotected

Definition at line 105 of file GsBitMap.h.

Member Function Documentation

◆ bitDataSize()

virtual OdUInt32 OdGsBitMap::bitDataSize ( ) const
virtual

Retrieves bitmap data size.

◆ bitPerPixel()

virtual OdUInt8 OdGsBitMap::bitPerPixel ( ) const
pure virtual

Retrieves a number of bits that are used to represent 1 pixel.

◆ bits()

virtual const OdUInt8 * OdGsBitMap::bits ( ) const
pure virtual

Retrieves a pointer to an array of bitmap data.

◆ bytePerLine()

virtual OdUInt32 OdGsBitMap::bytePerLine ( ) const
virtual

Retrieves a number of bytes allocated for each line.

◆ create()

virtual void OdGsBitMap::create ( OdUInt32  width,
OdUInt32  height,
OdUInt8  bitCount 
)
pure virtual

Creates a new bitmap.

Parameters
width[in] Bitmap width.
height[in] Bitmap height.
bitCount[in] Count of bits.

◆ height()

virtual OdUInt32 OdGsBitMap::height ( ) const
pure virtual

Retrieves height of this bitmap.

◆ ODRX_DECLARE_MEMBERS()

OdGsBitMap::ODRX_DECLARE_MEMBERS ( OdGsBitMap  )

◆ palette() [1/2]

virtual const OdGsPalette * OdGsBitMap::palette ( ) const
pure virtual

Retrieves a pointer to an associated palette.

◆ palette() [2/2]

virtual OdGsPalette * OdGsBitMap::palette ( )
pure virtual

Retrieves a pointer to an associated palette.

◆ setBits()

virtual void OdGsBitMap::setBits ( const OdUInt8 pData,
OdUInt32  nSize 
)
pure virtual

Sets bitmap data.

Parameters
pData[in] Pointer to an array of bits to set.
nSize[in] Number of bits in array.

◆ width()

virtual OdUInt32 OdGsBitMap::width ( ) const
pure virtual

Retrieves width of this bitmap.


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