Searched refs:texture (Results 1 – 1 of 1) sorted by relevance
39 GRSurface* texture; member110 if (!font->texture || gr_current_a == 0) return; in gr_text()112 bold = bold && (font->texture->height != font->cheight); in gr_text()125 unsigned char* src_p = font->texture->data + ((ch - ' ') * font->cwidth) + in gr_text()126 (bold ? font->cheight * font->texture->row_bytes : 0); in gr_text()129 text_blend(src_p, font->texture->row_bytes, in gr_text()274 int res = res_create_alpha_surface("font", &(gr_font->texture)); in gr_init_font()279 gr_font->cwidth = gr_font->texture->width / 96; in gr_init_font()280 gr_font->cheight = gr_font->texture->height / 2; in gr_init_font()285 gr_font->texture = reinterpret_cast<GRSurface*>(malloc(sizeof(*gr_font->texture))); in gr_init_font()[all …]