Searched refs:cwidth (Results 1 – 2 of 2) sorted by relevance
4 unsigned cwidth; member10 .cwidth = 10,
40 int cwidth; member65 return gr_font->cwidth * strlen(s); in gr_measure()70 *x = gr_font->cwidth; in gr_font_size()119 if (outside(x, y) || outside(x+font->cwidth-1, y+font->cheight-1)) break; in gr_text()125 unsigned char* src_p = font->texture->data + ((ch - ' ') * font->cwidth) + in gr_text()131 font->cwidth, font->cheight); in gr_text()133 x += font->cwidth; in gr_text()279 gr_font->cwidth = gr_font->texture->width / 96; in gr_init_font()301 gr_font->cwidth = font.cwidth; in gr_init_font()