ESP32 Display Controller and Graphics Library

◆ drawBitmap()

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.

XHorizontal position of bitmap left side.
YVertical position of bitmap top side.
bitmapPointer to bitmap structure.

Definition at line 494 of file canvas.cpp.