Lines Matching refs:width
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()
129 return reinterpret_cast<uint32_t*>(surface->data()) + x * row_pixels + (surface->width - y); in PixelAt()
132 (surface->width - 1 - x); in PixelAt()
143 int width, int height) { in TextBlend() argument
148 for (int i = 0; i < width; ++i, incr_x(&px, dst_row_pixels)) { in TextBlend()
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()
223 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
227 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear()
229 for (int x = 0; x < gr_draw->width; ++x) { in gr_clear()
307 return surface->width; in gr_get_width()
332 font->char_width = font->texture->width / 96; in gr_init_font()
385 overscan_offset_x = gr_draw->width * overscan_percent / 100; in gr_init()
425 : gr_draw->width - 2 * overscan_offset_x; in gr_fb_width()
430 ? gr_draw->width - 2 * overscan_offset_x in gr_fb_height()