Searched refs:char_height (Results 1 – 2 of 2) sorted by relevance
588 font->char_height = font->texture.h / FONT_NUM_ROWS / 2; // There are bold and regular rows in initFont()607 *y = (mHeight - font.char_height) / 2; in drawText()609 *y = mHeight + *y - font.char_height; in drawText()612 int cropRect[4] = { 0, 0, font.char_width, -font.char_height }; in drawText()626 cropRect[1] = row * font.char_height * 2; // Top of row in drawText()628 cropRect[1] += bold ? 2 * font.char_height : font.char_height; in drawText()631 glDrawTexiOES(*x, *y, 0, font.char_width, font.char_height); in drawText()
53 int char_height; member