LIBPOLYMNIA
公開メンバ関数 | 公開変数類 | 全メンバ一覧
polymnia::RgbColor クラス

RGB24bit色情報クラス [詳解]

#include <rgb.h>

公開メンバ関数

constexpr RgbColor () noexcept
 構築子 [詳解]
 
constexpr RgbColor (themis::Byte r0, themis::Byte g0, themis::Byte b0) noexcept
 構築子 [詳解]
 
bool operator== (const RgbColor &other) const noexcept
 等値比較演算子 [詳解]
 
bool operator!= (const RgbColor &other) const noexcept
 非等値比較演算子 [詳解]
 

公開変数類

themis::Byte r
 赤要素 [詳解]
 
themis::Byte g
 緑要素 [詳解]
 
themis::Byte b
 青要素 [詳解]
 

詳解

RGB24bit色情報クラス

構築子と解体子

◆ RgbColor() [1/2]

constexpr polymnia::RgbColor::RgbColor ( )
inlinenoexcept

構築子

RGB(0, 0, 0)で初期化する。

◆ RgbColor() [2/2]

constexpr polymnia::RgbColor::RgbColor ( themis::Byte  r0,
themis::Byte  g0,
themis::Byte  b0 
)
inlinenoexcept

構築子

RGB値を指定して初期化する。

関数詳解

◆ operator!=()

bool polymnia::RgbColor::operator!= ( const RgbColor other) const
inlinenoexcept

非等値比較演算子

◆ operator==()

bool polymnia::RgbColor::operator== ( const RgbColor other) const
inlinenoexcept

等値比較演算子

メンバ詳解

◆ b

themis::Byte polymnia::RgbColor::b

青要素

◆ g

themis::Byte polymnia::RgbColor::g

緑要素

◆ r

themis::Byte polymnia::RgbColor::r

赤要素


このクラス詳解は次のファイルから抽出されました: