Home
last modified time | relevance | path

Searched refs:font (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp54 int gr_measure(const GRFont* font, const char* s) { in gr_measure() argument
55 return font->char_width * strlen(s); in gr_measure()
58 void gr_font_size(const GRFont* font, int* x, int* y) { in gr_font_size() argument
59 *x = font->char_width; in gr_font_size()
60 *y = font->char_height; in gr_font_size()
133 void gr_text(const GRFont* font, int x, int y, const char* s, bool bold) { in gr_text() argument
134 if (!font || !font->texture || (gr_current & alpha_mask) == 0) return; in gr_text()
136 if (font->texture->pixel_bytes != 1) { in gr_text()
141 bold = bold && (font->texture->height != font->char_height); in gr_text()
148 if (outside(x, y) || outside(x + font->char_width - 1, y + font->char_height - 1)) break; in gr_text()
[all …]
Dfont_10x18.h7 } font = { variable
/bootable/recovery/minui/include/minui/
Dminui.h68 void gr_text(const GRFont* font, int x, int y, const char* s, bool bold);
69 int gr_measure(const GRFont* font, const char* s);
70 void gr_font_size(const GRFont* font, int* x, int* y);
/bootable/recovery/fonts/
DREADME1 The images in this directory were generated using the font
DOFL.txt14 development of collaborative font projects, to support the font creation
65 Copyright Holder. This restriction only applies to the primary font name as