tools
読み取り中…
検索中…
一致する文字列を見つけられません
wmc::clRGB 構造体

RGB カラー値を保持する構造体 [詳解]

#include <winMacro.h>

公開メンバ関数

 clRGB (int red, int green, int blue)
 コンストラクタ
bool operator== (const wmc::clRGB &other) const
 等値比較演算子

公開変数類

int r
 赤成分
int g
 緑成分
int b
 青成分

詳解

RGB カラー値を保持する構造体

winMacro.h21 行目に定義があります。

構築子と解体子

◆ clRGB()

wmc::clRGB::clRGB ( int red,
int green,
int blue )
inline

コンストラクタ

引数
red赤成分 (0〜255)
green緑成分 (0〜255)
blue青成分 (0〜255)

winMacro.h28 行目に定義があります。

関数詳解

◆ operator==()

bool wmc::clRGB::operator== ( const wmc::clRGB & other) const
inline

等値比較演算子

引数
other比較対象の clRGB 構造体
戻り値
RGB 全成分が等しい場合 true

winMacro.h38 行目に定義があります。

メンバ詳解

◆ b

int wmc::clRGB::b

青成分

winMacro.h31 行目に定義があります。

◆ g

int wmc::clRGB::g

緑成分

winMacro.h30 行目に定義があります。

◆ r

int wmc::clRGB::r

赤成分

winMacro.h29 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: