CFx SDK Documentation
2023 SP0
|
#include <GiPalette.h>
Public Member Functions | |
OdGiIntRGB (OdInt32 _r, OdInt32 _g, OdInt32 _b) | |
OdGiIntRGB () | |
OdGiIntRGB (ODCOLORREF cref) | |
OdInt32 | red () const |
OdInt32 | green () const |
OdInt32 | blue () const |
void | setRed (OdInt32 _r) |
void | setGreen (OdInt32 _g) |
void | setBlue (OdInt32 _b) |
void | setRGB (OdInt32 _r, OdInt32 _g, OdInt32 _b) |
void | setColor (ODCOLORREF cref) |
ODCOLORREF | color () const |
Public Attributes | |
OdInt32 | r |
OdInt32 | g |
OdInt32 | b |
This class represents RGB color components as set of 32bit integers. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 38 of file GiPalette.h.
Definition at line 42 of file GiPalette.h.
|
inline |
Definition at line 45 of file GiPalette.h.
|
inline |
Definition at line 46 of file GiPalette.h.
|
inline |
Returns blue color component.
Definition at line 62 of file GiPalette.h.
|
inline |
Returns color as ODCOLORREF.
Definition at line 98 of file GiPalette.h.
|
inline |
Returns green color component.
Definition at line 58 of file GiPalette.h.
|
inline |
Returns red color component.
Definition at line 54 of file GiPalette.h.
Resets blue color component.
_b | [in] New value for blue color component. |
Definition at line 78 of file GiPalette.h.
|
inline |
Resets all color components from ODCOLORREF.
cref | [in] Input color. |
Definition at line 91 of file GiPalette.h.
Resets green color component.
_g | [in] New value for green color component. |
Definition at line 73 of file GiPalette.h.
Resets red color component.
_r | [in] New value for red color component. |
Definition at line 68 of file GiPalette.h.
Resets red, green and blue color components together.
_r | [in] New value for red color component. |
_g | [in] New value for green color component. |
_b | [in] New value for blue color component. |
Definition at line 85 of file GiPalette.h.
OdInt32 OdGiIntRGB::b |
Definition at line 40 of file GiPalette.h.
OdInt32 OdGiIntRGB::g |
Definition at line 40 of file GiPalette.h.
OdInt32 OdGiIntRGB::r |
Definition at line 40 of file GiPalette.h.