Lines Matching refs:height
49 return x < 0 || x >= (swapped ? gr_draw->height : gr_draw->width) || y < 0 || in outside()
50 y >= (swapped ? gr_draw->width : gr_draw->height); in outside()
131 return reinterpret_cast<uint32_t*>(surface->data()) + (surface->height - 1 - y) * row_pixels + in PixelAt()
134 return reinterpret_cast<uint32_t*>(surface->data()) + (surface->height - 1 - x) * row_pixels + in PixelAt()
143 int width, int height) { in TextBlend() argument
145 for (int j = 0; j < height; ++j) { in TextBlend()
166 bold = bold && (font->texture->height != font->char_height); in gr_text()
202 if (outside(x, y) || outside(x + icon->width - 1, y + icon->height - 1)) return; in gr_texticon()
207 TextBlend(src_p, icon->row_bytes, dst_p, row_pixels, icon->width, icon->height); in gr_texticon()
224 memset(gr_draw->data(), gr_current & 0xff, gr_draw->height * gr_draw->row_bytes); in gr_clear()
228 for (int y = 0; y < gr_draw->height; ++y) { in gr_clear()
314 return surface->height; in gr_get_height()
333 font->char_height = font->texture->height / 2; in gr_init_font()
384 overscan_offset_y = gr_draw->height * overscan_percent / 100; in gr_init()
422 ? gr_draw->height - 2 * overscan_offset_y in gr_fb_width()
429 : gr_draw->height - 2 * overscan_offset_y; in gr_fb_height()