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

Function Documentation

◆ drawChar()

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.

Parameters
devPointer to the display's device structure returned by the initialization function.
cASCII-encoded character to draw.

◆ drawText()

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.

Parameters
devPointer to the display's device structure returned by the initialization function.
*myStringText to display on the screen.