103 r((color >> 16) & 0xFFU),
104 g((color >> 8) & 0xFFU),
120 const unsigned int ag,
121 const unsigned int ab,
122 const unsigned int aa) :
150 result.
r = (result.
r > 255U ? 255U : result.
r);
151 result.
g = (result.
g > 255U ? 255U : result.
g);
152 result.
b = (result.
b > 255U ? 255U : result.
b);
174 result.
r = (result.
r > 255U ? 255U : result.
r);
175 result.
g = (result.
g > 255U ? 255U : result.
g);
176 result.
b = (result.
b > 255U ? 255U : result.
b);
197 result.
r = (result.
r > 255U ? 255U : result.
r);
198 result.
g = (result.
g > 255U ? 255U : result.
g);
199 result.
b = (result.
b > 255U ? 255U : result.
b);
212 return r == color.
r &&
226 return !(
r == color.
r &&
Color(const unsigned int ar, const unsigned int ag, const unsigned int ab, const unsigned int aa)
bool operator==(const Color &color) const
Color(const unsigned int color)
bool operator!=(const Color &color) const
Color operator-(const Color &color) const
Color operator*(const float value) const
#define A_DEFAULT_COPY(func)