![]() |
Display Simple Graphics library
v0.5
Library containing shape, text, and bitmap drawing functions called by various display drivers
|
#include "simplegfx.h"
Functions | |
void | drawBitmap (screen_t *dev, char *imgdir, int x, int y) |
Draw an image (bitmap) at the specified (x,y) position. Requires an SD card to be mounted. More... | |
void drawBitmap | ( | screen_t * | dev, |
char * | imgdir, | ||
int | x, | ||
int | y | ||
) |
Draw an image (bitmap) at the specified (x,y) position.
Requires an SD card to be mounted.
dev | Pointer to the display's device structure returned by the initialization function. |
imgdir | String of the filename of the bitmap stored on the SD card. |
x | Horizontal coordinate of the top-left corner of where to draw the image. |
y | Vertical coordinate of the top-left corner of where to draw the image. |