Display Simple Graphics library  v0.5
Library containing shape, text, and bitmap drawing functions called by various display drivers
Functions
drawBitmap.c File Reference
#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...
 

Function Documentation

◆ drawBitmap()

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.

Parameters
devPointer to the display's device structure returned by the initialization function.
imgdirString of the filename of the bitmap stored on the SD card.
xHorizontal coordinate of the top-left corner of where to draw the image.
yVertical coordinate of the top-left corner of where to draw the image.