#include "hal_gfx_hal.h"
Go to the source code of this file.
Classes | |
struct | hal_gfx_kern_pair_t |
Font Kerning setting Structure. More... | |
struct | hal_gfx_glyph_t |
Font glyph setting Structure. More... | |
struct | hal_gfx_font_range_t |
Font range setting Structure. More... | |
struct | hal_gfx_font_t |
Font setting Structure. More... | |
Macros | |
#define | HAL_GFX_ALIGNX_LEFT (0x00U) |
#define | HAL_GFX_ALIGNX_RIGHT (0x01U) |
#define | HAL_GFX_ALIGNX_CENTER (0x02U) |
#define | HAL_GFX_ALIGNX_JUSTIFY (0x03U) |
#define | HAL_GFX_ALIGNX_MASK (0x03U) |
#define | HAL_GFX_ALIGNY_TOP (0x00U) |
#define | HAL_GFX_ALIGNY_BOTTOM (0x04U) |
#define | HAL_GFX_ALIGNY_CENTER (0x08U) |
#define | HAL_GFX_ALIGNY_JUSTIFY (0x0cU) |
#define | HAL_GFX_ALIGNY_MASK (0x0cU) |
#define | HAL_GFX_TEXT_WRAP (0x10U) |
Functions | |
void | hal_gfx_bind_font (hal_gfx_font_t *font) |
Bind the font to use in future hal_gfx_print() calls. More... | |
int | hal_gfx_string_get_bbox (const char *str, int *w, int *h, int max_w, uint32_t wrap) |
Get the bounding box's width and height of a string. More... | |
void | hal_gfx_print (const char *str, int x, int y, int w, int h, uint32_t fg_col, uint32_t align) |
Print pre-formatted text. More... | |
void | hal_gfx_print_to_position (const char *str, int *pos_x, int *pos_y, int x, int y, int w, int h, uint32_t fg_col, uint32_t align) |
Print pre-formatted text. More... | |