Color pixel value coded as 4 unsigned 8-bit integers (red, green, blue and alpha components). More...
#include <eVision/Easy/EC24A.h>
Public Member Functions | |
| EC24A () | |
| Constructs a EC24A object. | |
| EC24A (uint8_t c0, uint8_t c1, uint8_t c2, uint8_t a) | |
| Constructs a EC24A object. | |
| EC24A (uint8_t c0, uint8_t c1, uint8_t c2) | |
| Constructs a EC24A object. | |
Static Public Member Functions | |
| static int32_t | GetSize () |
| The number of bits in a pixel. | |
Public Attributes | |
| uint8_t | C2 |
| The value of the third component of the pixel (blue channel). | |
| uint8_t | C1 |
| The value of the second component of the pixel (green channel). | |
| uint8_t | C0 |
| The value of the first component of the pixel (red channel). | |
| uint8_t | A |
| The value of the alpha component of the pixel. A value of 0 means that the pixel is fully transparent and 255 fully opaque. | |
Color pixel value coded as 4 unsigned 8-bit integers (red, green, blue and alpha components).
This class is suited to handle the Windows 32-bit ARGB color format. The pixel values are coded on 32 bits, leaving 256 possible levels per color component (red, green, blue), as well as 8 more bits for an alpha channel.
License(s): None
| eVision::EC24A::EC24A | ( | ) |
Constructs a EC24A object.
| eVision::EC24A::EC24A | ( | uint8_t | c0, |
| uint8_t | c1, | ||
| uint8_t | c2, | ||
| uint8_t | a ) |
Constructs a EC24A object.
| c0 | The value of the first component of the pixel (red channel). |
| c1 | The value of the second component of the pixel (green channel). |
| c2 | The value of the third component of the pixel (blue channel). |
| a | The value of the alpha component of the pixel. A value of 0 means that the pixel is fully transparent and 255 fully opaque. |
| eVision::EC24A::EC24A | ( | uint8_t | c0, |
| uint8_t | c1, | ||
| uint8_t | c2 ) |
Constructs a EC24A object.
| c0 | The value of the first component of the pixel (red channel). |
| c1 | The value of the second component of the pixel (green channel). |
| c2 | The value of the third component of the pixel (blue channel). |
|
static |
The number of bits in a pixel.
| uint8_t eVision::EC24A::A |
The value of the alpha component of the pixel. A value of 0 means that the pixel is fully transparent and 255 fully opaque.
| uint8_t eVision::EC24A::C0 |
The value of the first component of the pixel (red channel).
| uint8_t eVision::EC24A::C1 |
The value of the second component of the pixel (green channel).
| uint8_t eVision::EC24A::C2 |
The value of the third component of the pixel (blue channel).