Name

gfx_blit_bmp — copies a bitmap to the specified location.

Synopsis

#include <gfx.h>   
void gfx_blit_bmp (x,  
 y,  
 bmp,  
 w,  
 h); 
uint8_t x;
uint8_t y;
const uint8_t * bmp;
uint8_t w;
uint8_t h;
 

Arguments

x

the top left corner location

y

the top left corner location

bmp

the bitmap to copy

w

the bitmap width

h

the bitmap height

Description

Copies a bitmap to a specified location. The image should be in packed pixels, 1bpp format. The changes are not visible till update is called.