gwnavruntime/visualsystem/visualcolor.h Source File

visualcolor.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 // primary contact: GUAL - secondary contact: MAMU
9 #ifndef Navigation_VisualColor_H
10 #define Navigation_VisualColor_H
11 
14 
15 namespace Kaim
16 {
17 
20 {
21  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_VisualSystem)
22 
23 public:
24  KY_INLINE static VisualColor Inactive() { return VisualColor::TransparentBlack; }
25 
27  VisualColor() : m_r(0), m_g(0), m_b(0), m_a(255) {}
28 
34  VisualColor(KyUInt8 r, KyUInt8 g, KyUInt8 b, KyUInt8 a = 255 ) { Set(r, g, b, a); }
35 
37  VisualColor(const VisualColor& color) { Set(color.m_r, color.m_g, color.m_b, color.m_a); }
38 
41  VisualColor(const VisualColor& color, KyFloat32 a) { Set(color.m_r, color.m_g, color.m_b, (KyUInt8)(a * 255.0f)); }
42 
45  VisualColor(const VisualColor& color, KyUInt8 a) { Set(color.m_r, color.m_g, color.m_b, a); }
46 
47 
49  bool operator==(const VisualColor& other) const
50  {
51  return m_r == other.m_r && m_g == other.m_g && m_b == other.m_b && m_a == other.m_a;
52  }
53 
55  bool operator!=(const VisualColor& other) const
56  {
57  return !(operator==(other));
58  }
59 
65  void Set(KyUInt8 r, KyUInt8 g, KyUInt8 b, KyUInt8 a = 255)
66  {
67  m_r = r;
68  m_g = g;
69  m_b = b;
70  m_a = a;
71  }
72 
78  void SetFloat(KyFloat32 r, KyFloat32 g, KyFloat32 b, KyFloat32 a = 1.0f)
79  {
80  m_r = (KyUInt8)(r * 255.0f);
81  m_g = (KyUInt8)(g * 255.0f);
82  m_b = (KyUInt8)(b * 255.0f);
83  m_a = (KyUInt8)(a * 255.0f);
84  }
85 
86 public:
87  KyUInt8 m_r;
88  KyUInt8 m_g;
91 
92 public:
93  static const VisualColor AliceBlue;
94  static const VisualColor AntiqueWhite;
95  static const VisualColor Aqua;
96  static const VisualColor Aquamarine;
97  static const VisualColor Azure;
98  static const VisualColor Beige;
99  static const VisualColor Bisque;
100  static const VisualColor Black;
102  static const VisualColor Blue;
103  static const VisualColor BlueViolet;
104  static const VisualColor Brown;
105  static const VisualColor BurlyWood;
106  static const VisualColor CadetBlue;
107  static const VisualColor Chartreuse;
108  static const VisualColor Chocolate;
109  static const VisualColor Coral;
111  static const VisualColor Cornsilk;
112  static const VisualColor Crimson;
113  static const VisualColor Cyan;
114  static const VisualColor DarkBlue;
115  static const VisualColor DarkCyan;
116  static const VisualColor DarkGoldenrod;
117  static const VisualColor DarkGray;
118  static const VisualColor DarkGreen;
119  static const VisualColor DarkKhaki;
120  static const VisualColor DarkMagenta;
122  static const VisualColor DarkOrange;
123  static const VisualColor DarkOrchid;
124  static const VisualColor DarkRed;
125  static const VisualColor DarkSalmon;
126  static const VisualColor DarkSeaGreen;
127  static const VisualColor DarkSlateBlue;
128  static const VisualColor DarkSlateGray;
129  static const VisualColor DarkTurquoise;
130  static const VisualColor DarkViolet;
131  static const VisualColor DeepPink;
132  static const VisualColor DeepSkyBlue;
133  static const VisualColor DimGray;
134  static const VisualColor DodgerBlue;
135  static const VisualColor Firebrick;
136  static const VisualColor FloralWhite;
137  static const VisualColor ForestGreen;
138  static const VisualColor Fuchsia;
139  static const VisualColor Gainsboro;
140  static const VisualColor GhostWhite;
141  static const VisualColor Gold;
142  static const VisualColor Goldenrod;
143  static const VisualColor Gray;
144  static const VisualColor Green;
145  static const VisualColor GreenYellow;
146  static const VisualColor Honeydew;
147  static const VisualColor HotPink;
148  static const VisualColor IndianRed;
149  static const VisualColor Indigo;
150  static const VisualColor Ivory;
151  static const VisualColor Khaki;
152  static const VisualColor Lavender;
153  static const VisualColor LavenderBlush;
154  static const VisualColor LawnGreen;
155  static const VisualColor LemonChiffon;
156  static const VisualColor LightBlue;
157  static const VisualColor LightCoral;
158  static const VisualColor LightCyan;
160  static const VisualColor LightGray;
161  static const VisualColor LightGreen;
162  static const VisualColor LightPink;
163  static const VisualColor LightSalmon;
164  static const VisualColor LightSeaGreen;
165  static const VisualColor LightSkyBlue;
168  static const VisualColor LightYellow;
169  static const VisualColor Lime;
170  static const VisualColor LimeGreen;
171  static const VisualColor Linen;
172  static const VisualColor Magenta;
173  static const VisualColor Maroon;
175  static const VisualColor MediumBlue;
176  static const VisualColor MediumOrchid;
177  static const VisualColor MediumPurple;
183  static const VisualColor MidnightBlue;
184  static const VisualColor MintCream;
185  static const VisualColor MistyRose;
186  static const VisualColor Moccasin;
187  static const VisualColor NavajoWhite;
188  static const VisualColor Navy;
189  static const VisualColor OldLace;
190  static const VisualColor Olive;
191  static const VisualColor OliveDrab;
192  static const VisualColor Orange;
193  static const VisualColor OrangeRed;
194  static const VisualColor Orchid;
195  static const VisualColor PaleGoldenrod;
196  static const VisualColor PaleGreen;
197  static const VisualColor PaleTurquoise;
198  static const VisualColor PaleVioletRed;
199  static const VisualColor PapayaWhip;
200  static const VisualColor PeachPuff;
201  static const VisualColor Peru;
202  static const VisualColor Pink;
203  static const VisualColor Plum;
204  static const VisualColor PowderBlue;
205  static const VisualColor Purple;
206  static const VisualColor Red;
207  static const VisualColor RosyBrown;
208  static const VisualColor RoyalBlue;
209  static const VisualColor SaddleBrown;
210  static const VisualColor Salmon;
211  static const VisualColor SandyBrown;
212  static const VisualColor SeaGreen;
213  static const VisualColor SeaShell;
214  static const VisualColor Sienna;
215  static const VisualColor Silver;
216  static const VisualColor SkyBlue;
217  static const VisualColor SlateBlue;
218  static const VisualColor SlateGray;
219  static const VisualColor Snow;
220  static const VisualColor SpringGreen;
221  static const VisualColor SteelBlue;
222  static const VisualColor Tan;
223  static const VisualColor Teal;
224  static const VisualColor Thistle;
225  static const VisualColor Tomato;
228  static const VisualColor Turquoise;
229  static const VisualColor Violet;
230  static const VisualColor Wheat;
231  static const VisualColor White;
232  static const VisualColor WhiteSmoke;
233  static const VisualColor Yellow;
234  static const VisualColor YellowGreen;
236 public:
238  static const VisualColor& GetDistinctColor(KyUInt32 index);
239 
241  static const VisualColor& GetDistinctColorWithoutRed(const KyUInt32 index);
242 
245  static const VisualColor& GetDistinctColor(KyUInt32 index, KyUInt32 nbColorsInPalette);
246 
251  static const VisualColor& GetDistinctColor(const KyUInt32 index, const VisualColor* customPalette, KyUInt32 nbColorsInPalette);
252 };
253 
254 inline void SwapEndianness(Endianness::Target /*e*/, VisualColor& /*self*/)
255 {
256  // nothing to swap
257 }
258 
259 }
260 
261 #endif //Navigation_VisualColor_H
static const VisualColor SeaGreen
Represents the color with RGBA values ( 46, 139, 87, 255).  
Definition: visualcolor.h:215
static const VisualColor Firebrick
Represents the color with RGBA values (178, 34, 34, 255).  
Definition: visualcolor.h:138
static const VisualColor Lavender
Represents the color with RGBA values (230, 230, 250, 255).  
Definition: visualcolor.h:155
static const VisualColor PeachPuff
Represents the color with RGBA values (255, 218, 185, 255).  
Definition: visualcolor.h:203
static const VisualColor OldLace
Represents the color with RGBA values (253, 245, 230, 255).  
Definition: visualcolor.h:192
static const VisualColor LimeGreen
Represents the color with RGBA values ( 50, 205, 50, 255).  
Definition: visualcolor.h:173
static const VisualColor LightPink
Represents the color with RGBA values (255, 182, 193, 255).  
Definition: visualcolor.h:165
static const VisualColor LightBlue
Represents the color with RGBA values (173, 216, 230, 255).  
Definition: visualcolor.h:159
static const VisualColor FloralWhite
Represents the color with RGBA values (255, 250, 240, 255).  
Definition: visualcolor.h:139
static const VisualColor DarkOliveGreen
Represents the color with RGBA values ( 85, 107, 47, 255).  
Definition: visualcolor.h:124
static const VisualColor Blue
Represents the color with RGBA values ( 0, 0, 255, 255).  
Definition: visualcolor.h:105
static const VisualColor DodgerBlue
Represents the color with RGBA values ( 30, 144, 255, 255).  
Definition: visualcolor.h:137
static const VisualColor Moccasin
Represents the color with RGBA values (255, 228, 181, 255).  
Definition: visualcolor.h:189
static const VisualColor TransparentWhite
Represents the color with RGBA values (255, 255, 255, 0).
Definition: visualcolor.h:230
static const VisualColor Pink
Represents the color with RGBA values (255, 192, 203, 255).  
Definition: visualcolor.h:205
static const VisualColor MediumAquamarine
Represents the color with RGBA values (102, 205, 170, 255).  
Definition: visualcolor.h:177
static const VisualColor DarkCyan
Represents the color with RGBA values ( 0, 139, 139, 255).  
Definition: visualcolor.h:118
static const VisualColor DarkGoldenrod
Represents the color with RGBA values (184, 134, 11, 255).  
Definition: visualcolor.h:119
static const VisualColor RoyalBlue
Represents the color with RGBA values ( 65, 105, 225, 255).  
Definition: visualcolor.h:211
static const VisualColor MediumPurple
Represents the color with RGBA values (147, 112, 219, 255).  
Definition: visualcolor.h:180
static const VisualColor MidnightBlue
Represents the color with RGBA values ( 25, 25, 112, 255).  
Definition: visualcolor.h:186
KyUInt8 m_r
The intensity value of the red channel. This value must be between 0 (no color) and 255 (full color)...
Definition: visualcolor.h:89
static const VisualColor Yellow
Represents the color with RGBA values (255, 255, 0, 255).  
Definition: visualcolor.h:236
static const VisualColor MediumSeaGreen
Represents the color with RGBA values ( 60, 179, 113, 255).  
Definition: visualcolor.h:181
static const VisualColor Goldenrod
Represents the color with RGBA values (218, 165, 32, 255).  
Definition: visualcolor.h:145
static const VisualColor BlanchedAlmond
Represents the color with RGBA values (255, 235, 205, 255).  
Definition: visualcolor.h:104
static const VisualColor Bisque
Represents the color with RGBA values (255, 228, 196, 255).  
Definition: visualcolor.h:102
static const VisualColor HotPink
Represents the color with RGBA values (255, 105, 180, 255).  
Definition: visualcolor.h:150
VisualColor()
Creates a new VisualColor instance set to opaque black.
Definition: visualcolor.h:28
static const VisualColor Lime
Represents the color with RGBA values ( 0, 255, 0, 255).  
Definition: visualcolor.h:172
bool operator!=(const VisualColor &other) const
Returns true if at least one of the RGBA values of the specified VisualColor is different than for th...
Definition: visualcolor.h:56
static const VisualColor MintCream
Represents the color with RGBA values (245, 255, 250, 255).  
Definition: visualcolor.h:187
static const VisualColor DarkTurquoise
Represents the color with RGBA values ( 0, 206, 209, 255).  
Definition: visualcolor.h:132
static const VisualColor LawnGreen
Represents the color with RGBA values (124, 252, 0, 255).  
Definition: visualcolor.h:157
static const VisualColor SandyBrown
Represents the color with RGBA values (244, 164, 96, 255).  
Definition: visualcolor.h:214
void SetFloat(KyFloat32 r, KyFloat32 g, KyFloat32 b, KyFloat32 a=1.0f)
Sets the color value of this object.
Definition: visualcolor.h:79
static const VisualColor Sienna
Represents the color with RGBA values (160, 82, 45, 255).  
Definition: visualcolor.h:217
static const VisualColor Plum
Represents the color with RGBA values (221, 160, 221, 255).  
Definition: visualcolor.h:206
static const VisualColor Black
Represents the color with RGBA values ( 0, 0, 0, 255).  
Definition: visualcolor.h:103
static const VisualColor YellowGreen
Represents the color with RGBA values (154, 205, 50, 255).  
Definition: visualcolor.h:237
void Set(KyUInt8 r, KyUInt8 g, KyUInt8 b, KyUInt8 a=255)
Sets the color value of this object.
Definition: visualcolor.h:66
static const VisualColor DarkKhaki
Represents the color with RGBA values (189, 183, 107, 255).  
Definition: visualcolor.h:122
static const VisualColor DarkSlateBlue
Represents the color with RGBA values ( 72, 61, 139, 255).  
Definition: visualcolor.h:130
KyUInt8 m_a
The intensity value of the alpha channel. This value must be between 0 (transparent) and 255 (opaque)...
Definition: visualcolor.h:92
static const VisualColor Peru
Represents the color with RGBA values (205, 133, 63, 255).  
Definition: visualcolor.h:204
static const VisualColor Crimson
Represents the color with RGBA values (220, 20, 60, 255).  
Definition: visualcolor.h:115
static const VisualColor Navy
Represents the color with RGBA values ( 0, 0, 128, 255).  
Definition: visualcolor.h:191
static const VisualColor Chartreuse
Represents the color with RGBA values (127, 255, 0, 255).  
Definition: visualcolor.h:110
static const VisualColor DarkSalmon
Represents the color with RGBA values (233, 150, 122, 255).  
Definition: visualcolor.h:128
static const VisualColor Orange
Represents the color with RGBA values (255, 165, 0, 255).  
Definition: visualcolor.h:195
static const VisualColor Aquamarine
Represents the color with RGBA values (127, 255, 212, 255).  
Definition: visualcolor.h:99
static const VisualColor PowderBlue
Represents the color with RGBA values (176, 224, 230, 255).  
Definition: visualcolor.h:207
static const VisualColor Turquoise
Represents the color with RGBA values ( 64, 224, 208, 255).  
Definition: visualcolor.h:231
static const VisualColor LightCoral
Represents the color with RGBA values (240, 128, 128, 255).  
Definition: visualcolor.h:160
static const VisualColor Wheat
Represents the color with RGBA values (245, 222, 179, 255).  
Definition: visualcolor.h:233
Represents a single RGBA color.
Definition: visualcolor.h:19
static const VisualColor DarkOrchid
Represents the color with RGBA values (153, 50, 204, 255).  
Definition: visualcolor.h:126
static const VisualColor Red
Represents the color with RGBA values (255, 0, 0, 255).  
Definition: visualcolor.h:209
static const VisualColor Teal
Represents the color with RGBA values ( 0, 128, 128, 255).  
Definition: visualcolor.h:226
static const VisualColor BurlyWood
Represents the color with RGBA values (222, 184, 135, 255).  
Definition: visualcolor.h:108
static const VisualColor Linen
Represents the color with RGBA values (250, 240, 230, 255).  
Definition: visualcolor.h:174
static const VisualColor AntiqueWhite
Represents the color with RGBA values (250, 235, 215, 255).  
Definition: visualcolor.h:97
static const VisualColor Salmon
Represents the color with RGBA values (250, 128, 114, 255).  
Definition: visualcolor.h:213
static const VisualColor & GetDistinctColorWithoutRed(const KyUInt32 index)
Retrieves the color with the specified index within a limited internal palette of 30 distinct colors...
static const VisualColor Gold
Represents the color with RGBA values (255, 215, 0, 255).  
Definition: visualcolor.h:144
static const VisualColor Ivory
Represents the color with RGBA values (255, 255, 240, 255).  
Definition: visualcolor.h:153
static const VisualColor AliceBlue
Represents the color with RGBA values (240, 248, 255, 255).  
Definition: visualcolor.h:96
static const VisualColor MediumBlue
Represents the color with RGBA values ( 0, 0, 205, 255).  
Definition: visualcolor.h:178
static const VisualColor PaleTurquoise
Represents the color with RGBA values (175, 238, 238, 255).  
Definition: visualcolor.h:200
static const VisualColor OrangeRed
Represents the color with RGBA values (255, 69, 0, 255).  
Definition: visualcolor.h:196
static const VisualColor DarkGreen
Represents the color with RGBA values ( 0, 100, 0, 255).  
Definition: visualcolor.h:121
static const VisualColor LightGreen
Represents the color with RGBA values (144, 238, 144, 255).  
Definition: visualcolor.h:164
static const VisualColor WhiteSmoke
Represents the color with RGBA values (245, 245, 245, 255).  
Definition: visualcolor.h:235
static const VisualColor PaleGreen
Represents the color with RGBA values (152, 251, 152, 255).  
Definition: visualcolor.h:199
static const VisualColor NavajoWhite
Represents the color with RGBA values (255, 222, 173, 255).  
Definition: visualcolor.h:190
static const VisualColor DarkOrange
Represents the color with RGBA values (255, 140, 0, 255).  
Definition: visualcolor.h:125
static const VisualColor SteelBlue
Represents the color with RGBA values ( 70, 130, 180, 255).  
Definition: visualcolor.h:224
static const VisualColor SpringGreen
Represents the color with RGBA values ( 0, 255, 127, 255).  
Definition: visualcolor.h:223
static const VisualColor Purple
Represents the color with RGBA values (128, 0, 128, 255).  
Definition: visualcolor.h:208
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
static const VisualColor Brown
Represents the color with RGBA values (165, 42, 42, 255).  
Definition: visualcolor.h:107
static const VisualColor IndianRed
Represents the color with RGBA values (205, 92, 92, 255).  
Definition: visualcolor.h:151
static const VisualColor PaleGoldenrod
Represents the color with RGBA values (238, 232, 170, 255).  
Definition: visualcolor.h:198
static const VisualColor Coral
Represents the color with RGBA values (255, 127, 80, 255).  
Definition: visualcolor.h:112
static const VisualColor DimGray
Represents the color with RGBA values (105, 105, 105, 255).  
Definition: visualcolor.h:136
static const VisualColor LightYellow
Represents the color with RGBA values (255, 255, 224, 255).  
Definition: visualcolor.h:171
static const VisualColor BlueViolet
Represents the color with RGBA values (138, 43, 226, 255).  
Definition: visualcolor.h:106
static const VisualColor DeepSkyBlue
Represents the color with RGBA values ( 0, 191, 255, 255).  
Definition: visualcolor.h:135
static const VisualColor Tan
Represents the color with RGBA values (210, 180, 140, 255).  
Definition: visualcolor.h:225
unsigned char KyUInt8
Type used internally to represent an unsigned 8-bit integer.
Definition: types.h:41
static const VisualColor Orchid
Represents the color with RGBA values (218, 112, 214, 255).  
Definition: visualcolor.h:197
static const VisualColor SlateBlue
Represents the color with RGBA values (106, 90, 205, 255).  
Definition: visualcolor.h:220
static const VisualColor Olive
Represents the color with RGBA values (128, 128, 0, 255).  
Definition: visualcolor.h:193
Definition: gamekitcrowddispersion.h:20
static const VisualColor DarkGray
Represents the color with RGBA values (169, 169, 169, 255).  
Definition: visualcolor.h:120
static const VisualColor Cornsilk
Represents the color with RGBA values (255, 248, 220, 255).  
Definition: visualcolor.h:114
static const VisualColor LavenderBlush
Represents the color with RGBA values (255, 240, 245, 255).  
Definition: visualcolor.h:156
static const VisualColor White
Represents the color with RGBA values (255, 255, 255, 255).  
Definition: visualcolor.h:234
static const VisualColor SaddleBrown
Represents the color with RGBA values (139, 69, 19, 255).  
Definition: visualcolor.h:212
static const VisualColor DarkSlateGray
Represents the color with RGBA values ( 47, 79, 79, 255).  
Definition: visualcolor.h:131
static const VisualColor LightSeaGreen
Represents the color with RGBA values ( 32, 178, 170, 255).  
Definition: visualcolor.h:167
static const VisualColor ForestGreen
Represents the color with RGBA values ( 34, 139, 34, 255).  
Definition: visualcolor.h:140
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
static const VisualColor LemonChiffon
Represents the color with RGBA values (255, 250, 205, 255).  
Definition: visualcolor.h:158
static const VisualColor MediumSlateBlue
Represents the color with RGBA values (123, 104, 238, 255).  
Definition: visualcolor.h:182
static const VisualColor Cyan
Represents the color with RGBA values ( 0, 255, 255, 255).  
Definition: visualcolor.h:116
static const VisualColor Indigo
Represents the color with RGBA values ( 75, 0, 130, 255).  
Definition: visualcolor.h:152
static const VisualColor DarkMagenta
Represents the color with RGBA values (139, 0, 139, 255).  
Definition: visualcolor.h:123
static const VisualColor Gainsboro
Represents the color with RGBA values (220, 220, 220, 255).  
Definition: visualcolor.h:142
static const VisualColor MediumOrchid
Represents the color with RGBA values (186, 85, 211, 255).  
Definition: visualcolor.h:179
static const VisualColor Azure
Represents the color with RGBA values (240, 255, 255, 255).  
Definition: visualcolor.h:100
static const VisualColor SeaShell
Represents the color with RGBA values (255, 245, 238, 255).  
Definition: visualcolor.h:216
static const VisualColor SlateGray
Represents the color with RGBA values (112, 128, 144, 255).  
Definition: visualcolor.h:221
static const VisualColor LightSteelBlue
Represents the color with RGBA values (176, 196, 222, 255).  
Definition: visualcolor.h:170
static const VisualColor Thistle
Represents the color with RGBA values (216, 191, 216, 255).  
Definition: visualcolor.h:227
static const VisualColor TransparentBlack
Represents the color with RGBA values ( 0, 0, 0, 0).
Definition: visualcolor.h:229
static const VisualColor GreenYellow
Represents the color with RGBA values (173, 255, 47, 255).  
Definition: visualcolor.h:148
static const VisualColor Gray
Represents the color with RGBA values (128, 128, 128, 255).  
Definition: visualcolor.h:146
static const VisualColor Violet
Represents the color with RGBA values (238, 130, 238, 255).  
Definition: visualcolor.h:232
static const VisualColor MistyRose
Represents the color with RGBA values (255, 228, 225, 255).  
Definition: visualcolor.h:188
static const VisualColor LightSalmon
Represents the color with RGBA values (255, 160, 122, 255).  
Definition: visualcolor.h:166
static const VisualColor Silver
Represents the color with RGBA values (192, 192, 192, 255).  
Definition: visualcolor.h:218
static const VisualColor Tomato
Represents the color with RGBA values (255, 99, 71, 255).  
Definition: visualcolor.h:228
KyUInt8 m_g
The intensity value of the green channel. This value must be between 0 (no color) and 255 (full color...
Definition: visualcolor.h:90
static const VisualColor CadetBlue
Represents the color with RGBA values ( 95, 158, 160, 255).  
Definition: visualcolor.h:109
static const VisualColor Green
Represents the color with RGBA values ( 0, 128, 0, 255).  
Definition: visualcolor.h:147
static const VisualColor DeepPink
Represents the color with RGBA values (255, 20, 147, 255).  
Definition: visualcolor.h:134
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
static const VisualColor LightGray
Represents the color with RGBA values (211, 211, 211, 255).  
Definition: visualcolor.h:163
static const VisualColor Magenta
Represents the color with RGBA values (255, 0, 255, 255).  
Definition: visualcolor.h:175
static const VisualColor & GetDistinctColor(KyUInt32 index)
Retrieves the color with the specified index within a limited internal palette of 31 distinct colors...
static const VisualColor MediumSpringGreen
Represents the color with RGBA values ( 0, 250, 154, 255).  
Definition: visualcolor.h:183
static const VisualColor LightGoldenrodYellow
Represents the color with RGBA values (250, 250, 210, 255).  
Definition: visualcolor.h:162
static const VisualColor Maroon
Represents the color with RGBA values (128, 0, 0, 255).  
Definition: visualcolor.h:176
static const VisualColor Fuchsia
Represents the color with RGBA values (255, 0, 255, 255).  
Definition: visualcolor.h:141
static const VisualColor LightSkyBlue
Represents the color with RGBA values (135, 206, 250, 255).  
Definition: visualcolor.h:168
static const VisualColor CornflowerBlue
Represents the color with RGBA values (100, 149, 237, 255).  
Definition: visualcolor.h:113
static const VisualColor Beige
Represents the color with RGBA values (245, 245, 220, 255).  
Definition: visualcolor.h:101
static const VisualColor MediumTurquoise
Represents the color with RGBA values ( 72, 209, 204, 255).  
Definition: visualcolor.h:184
static const VisualColor LightCyan
Represents the color with RGBA values (224, 255, 255, 255).  
Definition: visualcolor.h:161
static const VisualColor DarkViolet
Represents the color with RGBA values (148, 0, 211, 255).  
Definition: visualcolor.h:133
static const VisualColor Honeydew
Represents the color with RGBA values (240, 255, 240, 255).  
Definition: visualcolor.h:149
static const VisualColor SkyBlue
Represents the color with RGBA values (135, 206, 235, 255).  
Definition: visualcolor.h:219
static const VisualColor Khaki
Represents the color with RGBA values (240, 230, 140, 255).  
Definition: visualcolor.h:154
static const VisualColor Chocolate
Represents the color with RGBA values (210, 105, 30, 255).  
Definition: visualcolor.h:111
static const VisualColor DarkSeaGreen
Represents the color with RGBA values (143, 188, 139, 255).  
Definition: visualcolor.h:129
static const VisualColor OliveDrab
Represents the color with RGBA values (107, 142, 35, 255).  
Definition: visualcolor.h:194
static const VisualColor GhostWhite
Represents the color with RGBA values (248, 248, 255, 255).  
Definition: visualcolor.h:143
static const VisualColor PapayaWhip
Represents the color with RGBA values (255, 239, 213, 255).  
Definition: visualcolor.h:202
bool operator==(const VisualColor &other) const
Returns true if the RGBA values of the specified VisualColor are the same as for this object...
Definition: visualcolor.h:50
static const VisualColor DarkBlue
Represents the color with RGBA values ( 0, 0, 139, 255).  
Definition: visualcolor.h:117
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
static const VisualColor RosyBrown
Represents the color with RGBA values (188, 143, 143, 255).  
Definition: visualcolor.h:210
static const VisualColor LightSlateGray
Represents the color with RGBA values (119, 136, 153, 255).  
Definition: visualcolor.h:169
static const VisualColor Snow
Represents the color with RGBA values (255, 250, 250, 255).  
Definition: visualcolor.h:222
KyUInt8 m_b
The intensity value of the blue channel. This value must be between 0 (no color) and 255 (full color)...
Definition: visualcolor.h:91
static const VisualColor MediumVioletRed
Represents the color with RGBA values (199, 21, 133, 255).  
Definition: visualcolor.h:185
static const VisualColor DarkRed
Represents the color with RGBA values (139, 0, 0, 255).  
Definition: visualcolor.h:127
static const VisualColor Aqua
Represents the color with RGBA values ( 0, 255, 255, 255).  
Definition: visualcolor.h:98
static const VisualColor PaleVioletRed
Represents the color with RGBA values (219, 112, 147, 255).  
Definition: visualcolor.h:201