representation d'un pixel 'classique' rgba. More...
#include <Image.h>
Public Types | |
enum | { d = 4 } |
typedef unsigned char | type |
Public Member Functions | |
Pixel () | |
par defaut, un pixel noir (opaque). | |
Pixel (const unsigned char _r, const unsigned char _g, const unsigned char _b, const unsigned char _a=255u) | |
cree un pixel rgba. | |
Static Public Member Functions | |
static bool | isColorPixel () |
static bool | isHdrPixel () |
Public Attributes | |
unsigned char | r |
composantes publiques. | |
unsigned char | g |
unsigned char | b |
unsigned char | a |
representation d'un pixel 'classique' rgba.