Searched refs:cwidth (Results 1 – 2 of 2) sorted by relevance
4 unsigned cwidth; member10 .cwidth = 10,
39 int cwidth; member66 return gr_font->cwidth * strlen(s); in gr_measure()71 *x = gr_font->cwidth; in gr_font_size()124 if (outside(x, y) || outside(x+font->cwidth-1, y+font->cheight-1)) break; in gr_text()127 unsigned char* src_p = font->texture->data + (off * font->cwidth) + in gr_text()133 font->cwidth, font->cheight); in gr_text()136 x += font->cwidth; in gr_text()277 gr_font->cwidth = gr_font->texture->width / 96; in gr_init_font()299 gr_font->cwidth = font.cwidth; in gr_init_font()