|
FabGL
ESP32 VGA Controller and Graphics Library
|
| void fabgl::CanvasClass::drawBitmap | ( | int | X, |
| int | Y, | ||
| Bitmap const * | bitmap | ||
| ) |
Draw a bitmap at specified position.
A bitmap is an rectangular image with one byte per pixel. Each pixel has up to 64 colors (2 bits per channel) and can have 4 level of transparency. At the moment only level 0 (full transparent) and level 3 (full opaque) is supported.
| X | Horizontal position of bitmap left side. |
| Y | Vertical position of bitmap top side. |
| bitmap | Pointer to bitmap structure. |