Searched refs:char_width (Results 1 – 3 of 3) sorted by relevance
159 int str_len_px = length * field.font->char_width; in determine_xy()185 if (!graphics_available || field.font == nullptr || field.font->char_width == 0 || in draw_clock()218 if (field.font == nullptr || field.font->char_width == 0 || field.font->char_height == 0) { in draw_percent()
60 int char_width; member
1040 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont()1054 const int strWidth = font.char_width * len; in drawText()1084 drawTexturedQuad(*x, *y, font.char_width, font.char_height); in drawText()1086 *x += font.char_width; in drawText()