FabGL
ESP32 Display Controller and Graphics Library
|
void drawBitmap | ( | int | X, |
int | Y, | ||
Bitmap const * | bitmap | ||
) |
Draws 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. |
Definition at line 502 of file canvas.cpp.