11 #ifndef INC_POLYMNIA_RGBCOL_H___ 12 #define INC_POLYMNIA_RGBCOL_H___ 14 #include <themis/inttype.h> 38 RgbColor(themis::Byte r0, themis::Byte g0, themis::Byte b0) noexcept
45 return r == other.r &&
g == other.g &&
b == other.b;
51 return !(*
this == other);
59 #endif // INC_POLYMNIA_RGBCOL_H___ constexpr RgbColor(themis::Byte r0, themis::Byte g0, themis::Byte b0) noexcept
構築子
Definition: rgb.h:38
RGB24bit色情報クラス
Definition: rgb.h:21
bool operator!=(const RgbColor &other) const noexcept
非等値比較演算子
Definition: rgb.h:49
bool operator==(const RgbColor &other) const noexcept
等値比較演算子
Definition: rgb.h:43
themis::Byte r
赤要素
Definition: rgb.h:24
constexpr RgbColor() noexcept
構築子
Definition: rgb.h:32
themis::Byte g
緑要素
Definition: rgb.h:25
themis::Byte b
青要素
Definition: rgb.h:26