Home
last modified time | relevance | path

Searched refs:GRFont (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/minui/include/minui/
Dminui.h86 struct GRFont { struct
128 const GRFont* gr_sys_font();
129 int gr_init_font(const char* name, GRFont** dest);
130 void gr_text(const GRFont* font, int x, int y, const char* s, bool bold);
132 int gr_measure(const GRFont* font, const char* s);
134 int gr_font_size(const GRFont* font, int* x, int* y);
/bootable/recovery/minui/
Dgraphics.cpp33 static GRFont* gr_font = nullptr;
53 const GRFont* gr_sys_font() { in gr_sys_font()
61 int gr_measure(const GRFont* font, const char* s) { in gr_measure()
69 int gr_font_size(const GRFont* font, int* x, int* y) { in gr_font_size()
158 void gr_text(const GRFont* font, int x, int y, const char* s, bool bold) { in gr_text()
317 int gr_init_font(const char* name, GRFont** dest) { in gr_init_font()
318 GRFont* font = static_cast<GRFont*>(calloc(1, sizeof(*gr_font))); in gr_init_font()