Loading...
Searching...
No Matches
5x5 Font 'Mineplex'

The Mineplex font for containing 5x5 pixel ASCII characters. More...

Detailed Description

The Mineplex font for containing 5x5 pixel ASCII characters.

Files

file  mineplex.h
 Interface definition to access the Mineplex font.
 

Macros

#define MINEPLEX_CHAR_W   (5U)
 The width of a single character in pixel.
 
#define MINEPLEX_CHAR_H   (5U)
 The height of a single character in pixel.
 

Functions

const uint8_t * mineplex_char (char c)
 Get the Mineplex representation of a given ASCII character.
 

Macro Definition Documentation

◆ MINEPLEX_CHAR_H

#define MINEPLEX_CHAR_H   (5U)

The height of a single character in pixel.

Definition at line 38 of file mineplex.h.

◆ MINEPLEX_CHAR_W

#define MINEPLEX_CHAR_W   (5U)

The width of a single character in pixel.

Definition at line 33 of file mineplex.h.

Function Documentation

◆ mineplex_char()

const uint8_t * mineplex_char ( char  c)

Get the Mineplex representation of a given ASCII character.

The function returns the pointer to a 5 byte pointer containing the Mineplex representation of the given ASCII character. The Mineplex character is encoded row wise from top to bottom using the least significant 5 bit, where byte 1, bit 1 is the top left pixel of the encoded character.

Parameters
[in]ccharacter to translate
Returns
a 5 byte big buffer containing the encoded Mineplex character