Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp66 return font->char_width * strlen(s); in gr_measure()
74 *x = font->char_width; in gr_font_size()
173 if (outside(x, y) || outside(x + font->char_width - 1, y + font->char_height - 1)) break; in gr_text()
180 const uint8_t* src_p = font->texture->data() + ((ch - ' ') * font->char_width) + in gr_text()
184 TextBlend(src_p, font->texture->row_bytes, dst_p, row_pixels, font->char_width, in gr_text()
187 x += font->char_width; in gr_text()
332 font->char_width = font->texture->width / 96; in gr_init_font()
/bootable/recovery/minui/include/minui/
Dminui.h88 int char_width; member