|
|
constexpr | color (no_initialize_t) |
|
template<prototype_number GRAY, prototype_number ALPHA> |
| constexpr | color (GRAY gray, ALPHA u8Opacity) |
|
constexpr | color (const ::color32_t &color32) |
|
constexpr | color (const ::rgba_t &rgba) |
|
constexpr | color (const ::bgra_t &bgra) |
|
constexpr | color (const ::color::color &color) |
|
constexpr | color (const ::color::color &color, const class ::opacity &opacity) |
|
constexpr | color (enum_plain_color eplaincolor) |
|
constexpr | color (enum_plain_color eplaincolor, ::u8 u8Opacity) |
|
| color (const hls &hls, ::u8 A=255) |
|
| color (const hsv &hsv, ::u8 A=255) |
|
constexpr ::u8 | u8_red () const |
|
constexpr ::u8 | u8_green () const |
|
constexpr ::u8 | u8_blue () const |
|
constexpr ::u8 | u8_opacity () const |
|
constexpr ::f32 | f32_red () const |
|
constexpr ::f32 | f32_green () const |
|
constexpr ::f32 | f32_blue () const |
|
constexpr ::f32 | f32_opacity () const |
|
constexpr ::f64 | f64_red () const |
|
constexpr ::f64 | f64_green () const |
|
constexpr ::f64 | f64_blue () const |
|
constexpr ::f64 | f64_opacity () const |
|
constexpr color | contrasting_color () const |
|
color & | operator= (const ::payload &payload) |
|
constexpr bool | is_opaque () const |
| | bool is_set() const { return m_flags >= 0; }
|
|
constexpr bool | is_translucent () const |
|
constexpr bool | is_transparent () const |
|
constexpr bool | non_transparent () const |
|
constexpr bool | has_opacity () const |
|
void | hls_mult (::f64 dRateH, ::f64 dRateL, ::f64 dRateS) |
|
void | hls_rate (::f64 dRateH, ::f64 dRateL, ::f64 dRateS) |
|
void | hue_rate (::f64 dRateL) |
|
void | lightness_rate (::f64 dRateL) |
|
void | saturation_rate (::f64 dRateL) |
|
constexpr void | set (::rgba_t rgba) |
|
constexpr void | set (::bgra_t bgra) |
| void | get_hls (::f64 &dHue, ::f64 &dLightness, ::f64 &dSaturation) const |
|
void | get_hsv (::f64 &dHue, ::f64 &dBlack, ::f64 &dWhite) const |
| void | set_hls (::f64 dHue, ::f64 dLightness, ::f64 dSaturation) |
|
void | set_hsv (::f64 dHue, ::f64 dBlack, ::f64 dWhite) |
|
void | hls_mult (hls &hls) |
|
void | hls_rate (hls &hls) |
|
void | get_hls (hls &hls) const |
|
void | get_hsv (hsv &hsv) const |
|
void | set_hls (const hls &hls) |
|
void | set_hsv (const hsv &hsv) |
|
::color::hls | get_hls () const |
|
::color::hsv | get_hsv () const |
|
constexpr ::rgba_t | rgba () const |
|
constexpr ::bgra_t | bgra () const |
|
constexpr ::rgba_t | rgb () const |
|
constexpr ::bgra_t | bgr () const |
|
constexpr ::color32_t | color32 () const |
|
template<typename R, typename G, typename B> |
| constexpr void | set (R r, G g, B b) |
|
template<typename R, typename G, typename B, typename A> |
| constexpr void | set (R r, G g, B b, A a) |
|
constexpr ::u8 | set_red (::u8 r) |
|
constexpr ::u8 | set_green (::u8 g) |
|
constexpr ::u8 | set_blue (::u8 b) |
|
constexpr ::u8 | set_opacity (::u8 a) |
|
constexpr ::u16 | set_red (::u16 r) |
|
constexpr ::u16 | set_green (::u16 g) |
|
constexpr ::u16 | set_blue (::u16 b) |
|
constexpr ::u16 | set_opacity (::u16 a) |
|
constexpr ::i32 | set_red (::i32 r) |
|
constexpr ::i32 | set_green (::i32 g) |
|
constexpr ::i32 | set_blue (::i32 b) |
|
constexpr ::i32 | set_opacity (::i32 a) |
|
constexpr ::f32 | set_red (::f32 f) |
|
constexpr ::f32 | set_green (::f32 f) |
|
constexpr ::f32 | set_blue (::f32 f) |
|
constexpr ::f32 | set_opacity (::f32 f) |
|
constexpr ::f64 | set_red (::f64 f) |
|
constexpr ::f64 | set_green (::f64 f) |
|
constexpr ::f64 | set_blue (::f64 f) |
|
constexpr ::f64 | set_opacity (::f64 f) |
|
constexpr void | set_opacity (class ::opacity opacity) |
|
constexpr void | set_opaque () |
|
constexpr void | set_unsigned_char (::u8 R, ::u8 G, ::u8 B) |
|
constexpr void | set_unsigned_char (::u8 R, ::u8 G, ::u8 B, ::u8 A) |
|
constexpr void | set_f64 (::f64 R, ::f64 G, ::f64 B) |
|
constexpr void | set_f64 (::f64 R, ::f64 G, ::f64 B, ::f64 A) |
|
void | make_black_and_white () |
|
constexpr | operator::color32_t () const |
|
constexpr void | set (::color32_t color32) |
|
constexpr void | set (const ::color::color &color) |
|
constexpr color & | operator= (const ::color::color &color) |
|
constexpr color & | operator= (::color32_t color32) |
|
constexpr color & | operator= (enum_plain_color ecolor) |
|
color & | operator= (const hls &hls) |
|
color & | operator= (const hsv &hsv) |
|
bool | parse_color (const ::scoped_string &scopedstr) |
|
void | hue_offset (::f64 dRadians) |
|
constexpr auto | byte_minimum_rgb () const |
|
constexpr auto | byte_maximum_rgb () const |
|
constexpr auto | f32_minimum_rgb () const |
|
constexpr auto | f32_maximum_rgb () const |
|
constexpr auto | f64_minimum_rgb () const |
|
constexpr auto | f64_maximum_rgb () const |
|
constexpr ::color::color & | rate_rgb_set_opacity (class ::opacity opacity, ::f64 dRate) |
|
constexpr void | rate_red (::f64 dRate) |
|
constexpr void | rate_green (::f64 dRate) |
|
constexpr void | rate_blue (::f64 dRate) |
|
constexpr void | rate_opacity (::f64 dRate) |
|
constexpr bool | operator== (const ::color::color &color) const |
|
constexpr bool | operator== (::color32_t color32) const |
|
constexpr bool | operator== (enum_plain_color ecolor) const |
|
bool | operator== (const hls &hls) const |
|
void | blend (const ::color::color &color, ::f64 dRate) |
|
::color::color | get_blend (const ::color::color &color, ::f64 dRate) const |
|
constexpr ::f64 | get_luminance () const |
|
::f64 | get_saturation () const |
|
::f64 | get_hue () const |
|
constexpr auto | opaque () const |
|
constexpr color & | operator&= (const class ::opacity &opacity) |
|
constexpr color | operator& (const class ::opacity &opacity) const |
|
bool | operator== (const COLOR32 &color) const |