Gets the alpha component from a RGBA triple value rgba.
You can make a RGBA triple by using MakeRGBA.
Definition at line 530 of file common.h.
Referenced by DWORD2PIXEL().
Gets the blue component from a RGBA triple value rgba.
You can make a RGBA triple by using MakeRGBA.
Definition at line 521 of file common.h.
Referenced by DWORD2PIXEL().
Gets the green component from a RGBA triple value rgba.
You can make a RGBA triple by using MakeRGBA.
Definition at line 512 of file common.h.
Referenced by DWORD2PIXEL().
#define GetRValue | ( | rgba | ) | ((BYTE)(rgba)) |
Gets the red component from a RGBA triple value rgba.
You can make a RGBA triple by using MakeRGBA.
Definition at line 503 of file common.h.
Referenced by DWORD2PIXEL().
#define LOBYTE | ( | w | ) | ((BYTE)(w)) |
#define MakeRGB | ( | r, | |||
g, | |||||
b | ) |
Makes a RGB triple value from red r, green g, and blue b components.
#define MakeRGBA | ( | r, | |||
g, | |||||
b, | |||||
a | ) |
(((DWORD)((BYTE)(r))) | ((DWORD)((BYTE)(g)) << 8) \ | ((DWORD)((BYTE)(b)) << 16) | ((DWORD)((BYTE)(a)) << 24))
Makes a RGBA triple value from red r, green g, blue b and alpha components.
Definition at line 542 of file common.h.
Referenced by Pixel2DWORD().
typedef unsigned char BYTE |
typedef unsigned long DWORD |
typedef unsigned long LPARAM |
typedef signed char SBYTE |
typedef signed long SDWORD |
typedef signed short SWORD |
typedef unsigned int UINT |
typedef unsigned short WORD |