Lines Matching refs:height
60 return x < 0 || x >= gr_draw->width || y < 0 || y >= gr_draw->height; in outside()
76 int width, int height) in text_blend() argument
78 for (int j = 0; j < height; ++j) { in text_blend()
112 bold = bold && (font->texture->height != font->cheight); in gr_text()
148 if (outside(x, y) || outside(x+icon->width-1, y+icon->height-1)) return; in gr_texticon()
155 icon->width, icon->height); in gr_texticon()
176 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); in gr_clear()
179 for (int y = 0; y < gr_draw->height; ++y) { in gr_clear()
267 return surface->height; in gr_get_height()
280 gr_font->cheight = gr_font->texture->height / 2; in gr_init_font()
287 gr_font->texture->height = font.height; in gr_init_font()
291 unsigned char* bits = reinterpret_cast<unsigned char*>(malloc(font.width * font.height)); in gr_init_font()
330 gr_blit(frame, 0, 0, frame->width, frame->height, x, 0);
385 overscan_offset_y = gr_draw->height * overscan_percent / 100; in gr_init()
405 return gr_draw->height - 2*overscan_offset_y; in gr_fb_height()