Searched refs:font (Results 1 – 2 of 2) sorted by relevance
224 GRFont *font = gr_font; in gr_text() local227 y -= font->ascent; in gr_text()229 gl->bindTexture(gl, &font->texture); in gr_text()238 gl->texCoord2i(gl, (off * font->cwidth) - x, 0 - y); in gr_text()239 gl->recti(gl, x, y, x + font->cwidth, y + font->cheight); in gr_text()241 x += font->cwidth; in gr_text()311 bits = malloc(font.width * font.height); in gr_init_font()314 ftex->width = font.width; in gr_init_font()315 ftex->height = font.height; in gr_init_font()316 ftex->stride = font.width; in gr_init_font()[all …]
7 } font = { variable