Scope
|
#include <pixel.h>
Public Member Functions | |
BGRA8Pixel () | |
BGRA8Pixel (const uint8_t &val) | |
BGRA8Pixel (const uint8_t &vB, const uint8_t &vG, const uint8_t &vR) | |
BGRA8Pixel & | operator= (const uint8_t &val) |
BGRA8Pixel | operator+ (const BGRA8Pixel &adder) |
BGRA8Pixel & | operator+= (const BGRA8Pixel &adder) |
Accessor methods to the color components | |
void | to_blue (const uint8_t &val) |
void | to_green (const uint8_t &val) |
void | to_red (const uint8_t &val) |
void | to_gray (const uint8_t &val) |
Public Attributes | |
uint8_t | B |
uint8_t | G |
uint8_t | R |
uint8_t | A |
Encapsulated a 4-byte pixel in BGRA format for use with Direct2D.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |