Searched refs:char_width (Results 1 – 2 of 2) sorted by relevance
587 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont()599 const int strWidth = font.char_width * len; in drawText()612 int cropRect[4] = { 0, 0, font.char_width, -font.char_height }; in drawText()625 cropRect[0] = col * font.char_width; // Left of column in drawText()631 glDrawTexiOES(*x, *y, 0, font.char_width, font.char_height); in drawText()633 *x += font.char_width; in drawText()
52 int char_width; member