Text graphic routines. More...
#include <gfx/gfx.h>#include <gfx/font.h>#include <gfx/text.h>#include <gfx/gfx_p.h>#include <cfg/debug.h>Go to the source code of this file.
Functions | |
| void | text_setCoord (struct Bitmap *bm, int x, int y) |
| Move (imaginary) cursor to coordinates specified. | |
| void | text_moveTo (struct Bitmap *bm, int row, int col) |
| Move (imaginary) cursor to column and row specified. | |
| static int | text_putglyph (char c, struct Bitmap *bm) |
| Render char c on Bitmap bm. | |
| int | text_putchar (char c, struct Bitmap *bm) |
Render char c, with (currently) limited ANSI escapes emulation support and '' for newline. | |
| void | text_clear (struct Bitmap *bmp) |
| Clear the screen and reset cursor position. | |
| uint8_t | text_style (struct Bitmap *bm, uint8_t flags, uint8_t mask) |
| Set/clear algorithmic font style bits. | |
Variables | |
| static bool | ansi_mode = false |
| ANSI escape sequences flag: true for ESC state on. | |
Detailed Description
Text graphic routines.
Definition in file text.c.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)