31#define GFXBITMAP_DEFAULT_FONT (void *)0
38enum { GFXBITMAP_USE_STRLEN = ~0U };
108 unsigned x,
unsigned y,
129 unsigned x,
unsigned y,
131 int scale_x,
int scale_y);
Bitmap renderer header file.
unsigned int gfxbitmap_color_pix_t
Specific color type.
L4 compiler related defines.
void gfxbitmap_font_text_scale(void *fb, l4re_video_view_info_t *vi, gfxbitmap_font_t font, const char *text, unsigned len, unsigned x, unsigned y, gfxbitmap_color_pix_t fg, gfxbitmap_color_pix_t bg, int scale_x, int scale_y)
Render a string to a framebuffer, including scaling.
gfxbitmap_font_t gfxbitmap_font_get(const char *name)
Get a font descriptor.
int gfxbitmap_font_init(void)
Initialize the library.
unsigned gfxbitmap_font_width(gfxbitmap_font_t font)
Get the font width.
void * gfxbitmap_font_data(gfxbitmap_font_t font, unsigned c)
Get bitmap font data for a specific character.
void * gfxbitmap_font_t
Font.
unsigned gfxbitmap_font_height(gfxbitmap_font_t font)
Get the font height.
void gfxbitmap_font_text(void *fb, l4re_video_view_info_t *vi, gfxbitmap_font_t font, const char *text, unsigned len, unsigned x, unsigned y, gfxbitmap_color_pix_t fg, gfxbitmap_color_pix_t bg)
Render a string to a framebuffer.
#define L4_CV
Define calling convention.
#define EXTERN_C_BEGIN
Start section with C types and functions.
#define EXTERN_C_END
End section with C types and functions.
View information structure.