ESP32VGA
ESP32 VGA Controller and Graphics Library
|
Represents an image with 64 colors image and transparency. More...
#include <vgacontroller.h>
Public Attributes | |
uint16_t | width |
uint16_t | height |
uint8_t const * | data |
bool | dataAllocated |
Represents an image with 64 colors image and transparency.
Each pixel uses 8 bits (one byte), 2 bits per channel - RGBA, with following disposition:
7 6 5 4 3 2 1 0 A A B B G G R R
AA = 0 fully transparent, AA = 3 fully opaque. Each color channel can have values from 0 to 3 (maxmum intensity).
uint8_t const* FabGL::Bitmap::data |
Bitmap binary data
bool FabGL::Bitmap::dataAllocated |
If true data is released when bitmap is destroyed
uint16_t FabGL::Bitmap::height |
Bitmap vertical size
uint16_t FabGL::Bitmap::width |
Bitmap horizontal size