![]() |
Display Simple Graphics library
v0.5
Library containing shape, text, and bitmap drawing functions called by various display drivers
|
#include "simplegfx.h"
Functions | |
void | drawText (screen_t *dev, char *myString) |
Prints a string of text to the screen starting at the cursor position. Output is limited to 64 bytes. More... | |
void | drawChar (screen_t *dev, char c) |
Prints single ASCII-encoded characters to the screen. Characters 32 (space) to 126 (~) are rendered. All other characters are rendered as a box. More... | |
void drawChar | ( | screen_t * | dev, |
char | c | ||
) |
Prints single ASCII-encoded characters to the screen. Characters 32 (space) to 126 (~) are rendered. All other characters are rendered as a box.
dev | Pointer to the display's device structure returned by the initialization function. |
c | ASCII-encoded character to draw. |
void drawText | ( | screen_t * | dev, |
char * | myString | ||
) |
Prints a string of text to the screen starting at the cursor position. Output is limited to 64 bytes.
dev | Pointer to the display's device structure returned by the initialization function. |
*myString | Text to display on the screen. |