CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGsPalette Class Referenceabstract

#include <GsBitMap.h>

Inheritance diagram for OdGsPalette:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGsPalette)
 
 OdGsPalette ()
 
virtual OdUInt32 numColors () const =0
 
virtual void setNumColors (OdUInt32 nColors)=0
 
virtual void setColorAt (OdUInt32 nIndex, OdUInt8 blue, OdUInt8 green, OdUInt8 red, OdUInt8 alpha=0)=0
 
virtual void colorAt (OdUInt32 nIndex, OdUInt8 &blue, OdUInt8 &green, OdUInt8 &red, OdUInt8 *pAlpha=0) const =0
 
virtual void setColors (OdUInt32 nColors, const ODCOLORREF *pColors)
 
virtual void getColors (OdUInt32 nColors, ODCOLORREF *pColors) 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

<group OdGs_Classes>

Definition at line 40 of file GsBitMap.h.

Constructor & Destructor Documentation

◆ OdGsPalette()

OdGsPalette::OdGsPalette ( )
inline

Definition at line 44 of file GsBitMap.h.

Member Function Documentation

◆ colorAt()

virtual void OdGsPalette::colorAt ( OdUInt32  nIndex,
OdUInt8 blue,
OdUInt8 green,
OdUInt8 red,
OdUInt8 pAlpha = 0 
) const
pure virtual

◆ getColors()

virtual void OdGsPalette::getColors ( OdUInt32  nColors,
ODCOLORREF pColors 
) const
virtual

◆ numColors()

virtual OdUInt32 OdGsPalette::numColors ( ) const
pure virtual

◆ ODRX_DECLARE_MEMBERS()

OdGsPalette::ODRX_DECLARE_MEMBERS ( OdGsPalette  )

◆ setColorAt()

virtual void OdGsPalette::setColorAt ( OdUInt32  nIndex,
OdUInt8  blue,
OdUInt8  green,
OdUInt8  red,
OdUInt8  alpha = 0 
)
pure virtual

◆ setColors()

virtual void OdGsPalette::setColors ( OdUInt32  nColors,
const ODCOLORREF pColors 
)
virtual

◆ setNumColors()

virtual void OdGsPalette::setNumColors ( OdUInt32  nColors)
pure virtual

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