Lines Matching refs:width
48 return x < 0 || x >= (swapped ? gr_draw->height : gr_draw->width) || y < 0 || in outside()
49 y >= (swapped ? gr_draw->width : gr_draw->height); in outside()
128 return reinterpret_cast<uint32_t*>(surface->data()) + x * row_pixels + (surface->width - y); in PixelAt()
131 (surface->width - 1 - x); in PixelAt()
142 int width, int height) { in TextBlend() argument
147 for (int i = 0; i < width; ++i, incr_x(&px, dst_row_pixels)) { in TextBlend()
201 if (outside(x, y) || outside(x + icon->width - 1, y + icon->height - 1)) return; in gr_texticon()
206 TextBlend(src_p, icon->row_bytes, dst_p, row_pixels, icon->width, icon->height); in gr_texticon()
222 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
226 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear()
228 for (int x = 0; x < gr_draw->width; ++x) { in gr_clear()
306 return surface->width; in gr_get_width()
331 font->char_width = font->texture->width / 96; in gr_init_font()
379 overscan_offset_x = gr_draw->width * overscan_percent / 100; in gr_init()
419 : gr_draw->width - 2 * overscan_offset_x; in gr_fb_width()
424 ? gr_draw->width - 2 * overscan_offset_x in gr_fb_height()