|
LIBEUNOMIA
|
RGB24bit色情報クラス [詳解]
#include <colour.h>
公開メンバ関数 | |
| constexpr | RgbColour () noexcept |
| 構築子 | |
| constexpr | RgbColour (std::uint8_t r, std::uint8_t g, std::uint8_t b) noexcept |
| 構築子 | |
| constexpr bool | operator== (const RgbColour &other) const noexcept |
| 等價比較演算子 | |
| constexpr bool | operator!= (const RgbColour &other) const noexcept |
| 非等價比較演算子 | |
公開変数類 | |
| std::uint8_t | red |
| 赤要素 | |
| std::uint8_t | green |
| 緑要素 | |
| std::uint8_t | blue |
| 青要素 | |
RGB24bit色情報クラス
|
inlineconstexprnoexcept |
構築子
RGB(0, 0, 0)で初期化する。
|
inlineconstexprnoexcept |
構築子
RGB値を指定して初期化する。
|
inlineconstexprnoexcept |
非等價比較演算子
|
inlineconstexprnoexcept |
等價比較演算子
| std::uint8_t eunomia::RgbColour::blue |
青要素
| std::uint8_t eunomia::RgbColour::green |
緑要素
| std::uint8_t eunomia::RgbColour::red |
赤要素