RGBColor
-
class
RGBColor
Public Functions
-
inline HPS_INLINE bool Equals (RGBColor const &c, int in_tolerance=32) const
-
inline HPS_INLINE float Gray () const
-
inline HPS_INLINE bool IsGray () const
-
inline HPS_INLINE bool IsValid () const
-
inline HPS_INLINE bool operator!= (RGBColor const &c) const
-
inline HPS_INLINE RGBColor const operator* (float s) const
-
inline HPS_INLINE RGBColor const operator* (RGBColor const &c) const
-
inline HPS_INLINE RGBColor & operator*= (float s)
-
inline HPS_INLINE RGBColor & operator*= (RGBColor const &c)
-
inline HPS_INLINE RGBColor const operator+ (float s) const
-
inline HPS_INLINE RGBColor const operator+ (RGBColor const &c) const
-
inline HPS_INLINE RGBColor & operator+= (float s)
-
inline HPS_INLINE RGBColor & operator+= (RGBColor const &c)
-
inline HPS_INLINE RGBColor const operator- (float s) const
-
inline HPS_INLINE RGBColor const operator- (RGBColor const &c) const
-
inline HPS_INLINE RGBColor & operator-= (float s)
-
inline HPS_INLINE RGBColor & operator-= (RGBColor const &c)
-
inline HPS_INLINE RGBColor const operator/ (float s) const
-
inline HPS_INLINE RGBColor & operator/= (float s)
-
inline HPS_INLINE bool operator== (RGBColor const &c) const
-
inline HPS_INLINE
RGBColor
()
-
inline explicit HPS_INLINE
RGBColor
(float gray)
-
inline HPS_INLINE
RGBColor
(float r, float g, float b)
-
explicit HPS_INLINE
RGBColor
(RGB24Color const &c24)
-
explicit HPS_INLINE
RGBColor
(RGBA32Color const &c32)
-
explicit HPS_INLINE
RGBColor
(RGBAS32Color const &c32)
-
void
ShowHIC
(float &out_hue, float &out_intensity, float &out_chromaticity) const
-
void
ShowHLS
(float &out_hue, float &out_lightness, float &out_saturation) const
-
void
ShowHSV
(float &out_hue, float &out_saturation, float &out_value) const
Public Static Functions
-
static inline HPS_INLINE RGBColor Black ()
-
static inline HPS_INLINE RGBColor Invalid ()
-
static inline HPS_INLINE RGBColor White ()
-