#include <ImagePixelFormats.h>
Public Member Functions | |
| TPF_ARGB (BYTE alpha, BYTE red, BYTE green, BYTE blue) | |
| Vytvori pixel ze zadanych barevnych slozek. | |
| void | SetAlpha (BYTE alpha) |
| Nastaveni alpha kanalu. | |
| void | SetRed (BYTE red) |
| Nastaveni cerveneho kanalu. | |
| void | SetGreen (BYTE green) |
| Nastaveni zeleneho kanalu. | |
| void | SetBlue (BYTE blue) |
| Nastaveni modreho kanalu. | |
| BYTE | GetAlpha (void) const |
| Vrati hodnotu alpha kanalu. | |
| BYTE | GetRed (void) const |
| Vrati hodnotu cerveneho kanalu. | |
| BYTE | GetGreen (void) const |
| Vrati hodnotu zeleneho kanalu. | |
| BYTE | GetBlue (void) const |
| Vrati hodnotu modreho kanalu. | |
Public Attributes | |
| DWORD | m_pixel |
Pixel je reprezentovan jako DWORD 0xAARRGGBB.
V pameti jsou (pro little-endian) ulozeny bajtu v tomto poradi BLUE, GREEN, RED, ALPHA.
Definition at line 44 of file ImagePixelFormats.h.
|
||||||||||||||||||||
|
Vytvori pixel ze zadanych barevnych slozek.
Definition at line 72 of file ImagePixelFormats.h. References m_pixel. |
|
|
Vrati hodnotu alpha kanalu.
Definition at line 124 of file ImagePixelFormats.h. References m_pixel. |
|
|
Vrati hodnotu modreho kanalu.
Definition at line 148 of file ImagePixelFormats.h. References m_pixel. |
|
|
Vrati hodnotu zeleneho kanalu.
Definition at line 140 of file ImagePixelFormats.h. References m_pixel. |
|
|
Vrati hodnotu cerveneho kanalu.
Definition at line 132 of file ImagePixelFormats.h. References m_pixel. |
|
|
Nastaveni alpha kanalu.
Definition at line 86 of file ImagePixelFormats.h. References m_pixel. |
|
|
Nastaveni modreho kanalu.
Definition at line 116 of file ImagePixelFormats.h. References m_pixel. |
|
|
Nastaveni zeleneho kanalu.
Definition at line 106 of file ImagePixelFormats.h. References m_pixel. |
|
|
Nastaveni cerveneho kanalu.
Definition at line 96 of file ImagePixelFormats.h. References m_pixel. |
|
|
Definition at line 61 of file ImagePixelFormats.h. Referenced by GetAlpha(), GetBlue(), GetGreen(), GetRed(), SetAlpha(), SetBlue(), SetGreen(), SetRed(), and TPF_ARGB(). |
1.4.6-NO