Graphic Display v1.0.0
Control any mochrome display, with any microcontroller, in any amount.
Loading...
Searching...
No Matches
GraphicDisplay_Fonts.h
Go to the documentation of this file.
1/*
2 * GraphicDisplay_Fonts.h
3 *
4 * Created on: Jun 28, 2024
5 * Author: pablo-jean
6 */
7
8/*
9 * This Library was originally written by Olivier Van den Eede (4ilo) in 2016.
10 * Some refactoring was done and SPI support was added by Aleksander Alekseev (afiskon) in 2018.
11 *
12 * https://github.com/afiskon/stm32-ssd1306
13 *
14 * A big refactor was made, to support any device and not gluing to any specific chipset
15 *
16 * One big change: we using now the Fonts as a pointer, the process is more fast when we
17 * pass the Font parameter to the function, proving performance and reducing stack usage.
18 */
19
20#ifndef GRAPHICDISPLAY_FONTS_H_
21#define GRAPHICDISPLAY_FONTS_H_
22
23/*
24 * Include
25 */
26
27#include "GraphicDisplay.h"
28
29/*
30 * Macros
31 */
32
33#ifdef GD_INCLUDE_FONT_6x8
34extern const gd_font_t* Font_6x8;
35#endif
36#ifdef GD_INCLUDE_FONT_7x10
37extern const gd_font_t* Font_7x10;
38#endif
39#ifdef GD_INCLUDE_FONT_11x18
40extern const gd_font_t* Font_11x18;
41#endif
42#ifdef GD_INCLUDE_FONT_16x26
43extern const gd_font_t* Font_16x26;
44#endif
45#ifdef GD_INCLUDE_FONT_16x24
46extern const gd_font_t* Font_16x24;
47#endif
48#ifdef GD_INCLUDE_FONT_16x15
53extern const gd_font_t* Font_16x15;
54#endif
55
56#endif /* GRAPHICDISPLAY_FONTS_H_ */
Main header file of Graphic Display Library, here we have the middle layer of the library....
const gd_font_t * Font_16x15
Definition GraphicDisplay_Fonts.c:934
const gd_font_t * Font_6x8
Definition GraphicDisplay_Fonts.c:907
const gd_font_t * Font_11x18
Definition GraphicDisplay_Fonts.c:915
const gd_font_t * Font_16x24
Definition GraphicDisplay_Fonts.c:925
const gd_font_t * Font_7x10
Definition GraphicDisplay_Fonts.c:911
const gd_font_t * Font_16x26
Definition GraphicDisplay_Fonts.c:919
Structure to holds Fonts. The default fonts are defined in GraphicDisplay_Fonts.h....
Definition GraphicDisplay.h:300