Functions to draw elements into images
◆ lraspi_draw_blit()
void lraspi_draw_blit |
( |
lraspi_Image * |
image, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Draws an image with default foreground colour.
- Parameters
-
image | The image object to draw. |
x | x-axis screen position (in pixels) where the image will be blited. |
y | y-axis screen position (in pixels) where the image will be blited. |
◆ lraspi_draw_print()
void lraspi_draw_print |
( |
const char * |
text, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Draws a text with default font.
- Parameters
-
text | String to print. |
x | x-axis screen position (in pixels) where the text will be printed. |
y | y-axis screen position (in pixels) where the text will be printed. |