![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cColorRef.h>
Public Member Functions | |
cColor888 () noexcept | |
cColor888 (COLORREF color) noexcept | |
cColor888 (COLOR_ELEM_t _r, COLOR_ELEM_t _g, COLOR_ELEM_t _b) noexcept | |
bool | operator== (const cColor888 &color2) const noexcept |
bool | operator!= (const cColor888 &color2) const noexcept |
COLOR_ELEM_t | GetElem (ITERATE_t i) const noexcept |
COLOR_ELEM_t | get_R () const noexcept |
COLOR_ELEM_t | get_G () const noexcept |
COLOR_ELEM_t | get_B () const noexcept |
COLORREF | get_ColorRef () const noexcept |
D3DCOLOR | get_ColorDX () const noexcept |
Public Attributes | |
COLOR_ELEM_t | r |
COLOR_ELEM_t | g |
memory is GDI order. [0] = red More... | |
COLOR_ELEM_t | b |
"true color" 24 bit (3 byte) storage pixel. memory stored as GDI order format. [0] = red SURF_FORM_BGR888
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
get color as DirectX D3DCOLOR = RGB (hi to lo value bits)
|
inlinenoexcept |
get color as GDI COLORREF = BGR (hi to lo value bits)
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
COLOR_ELEM_t GrayLib::cColor888::b |
COLOR_ELEM_t GrayLib::cColor888::g |
memory is GDI order. [0] = red
COLOR_ELEM_t GrayLib::cColor888::r |