17 #if !defined(OPENNURBS_COLOR_INC_) 18 #define OPENNURBS_COLOR_INC_ 77 #if defined(ON_LITTLE_ENDIAN) 82 #elif defined(ON_BIG_ENDIAN) 112 unsigned int colorref
116 operator unsigned int()
const;
125 unsigned int WindowsRGB()
const;
128 int Compare(
const ON_Color& )
const;
135 double FractionRed()
const;
136 double FractionGreen()
const;
137 double FractionBlue()
const;
138 double FractionAlpha()
const;
146 void SetFractionalRGB(
156 void SetFractionalAlpha(
168 void SetFractionalRGBA(
183 double Saturation()
const;
186 double Value()
const;
204 unsigned int m_color = 0;
211 unsigned char m_RGBA[4];
RGBA_byte_index
Definition: opennurbs_color.h:56
static const ON_Color SaturatedGreen
Definition: opennurbs_color.h:36
static const ON_Color SaturatedRed
Definition: opennurbs_color.h:35
static const ON_Color UnsetColor
Definition: opennurbs_color.h:32
Definition: opennurbs_color.h:24
RGBA_shift
Definition: opennurbs_color.h:75
static const ON_Color Gray126
Definition: opennurbs_color.h:41
static const ON_Color Gray230
Definition: opennurbs_color.h:43
static const ON_Color SaturatedMagenta
Definition: opennurbs_color.h:40
static const ON_Color SaturatedBlue
Definition: opennurbs_color.h:37
static const ON_Color Gray160
Definition: opennurbs_color.h:42
static const ON_Color White
Definition: opennurbs_color.h:34
static const ON_Color SaturatedYellow
Definition: opennurbs_color.h:38
static const ON_Color SaturatedCyan
Definition: opennurbs_color.h:39
static const ON_Color Black
Definition: opennurbs_color.h:33