Lines Matching refs:rect
358 SDL_Rect rect; in blend_texture_layer() local
359 rect.w = (lv_area_get_width(&t->area) * draw_dsc->scale_x) / 256; in blend_texture_layer()
360 rect.h = (lv_area_get_height(&t->area) * draw_dsc->scale_y) / 256; in blend_texture_layer()
362 rect.x = -draw_dsc->pivot.x; in blend_texture_layer()
363 rect.y = -draw_dsc->pivot.y; in blend_texture_layer()
364 rect.x = (rect.x * draw_dsc->scale_x) / 256; in blend_texture_layer()
365 rect.y = (rect.y * draw_dsc->scale_y) / 256; in blend_texture_layer()
366 rect.x += t->area.x1 + draw_dsc->pivot.x; in blend_texture_layer()
367 rect.y += t->area.y1 + draw_dsc->pivot.y; in blend_texture_layer()
378 …SDL_RenderCopyEx(renderer, src_texture, NULL, &rect, draw_dsc->rotation / 10, ¢er, SDL_FLIP_NO… in blend_texture_layer()
455 SDL_Rect rect; in draw_from_cached_texture() local
459 rect.x = t->_real_area.x1 - dest_layer->buf_area.x1; in draw_from_cached_texture()
460 rect.y = t->_real_area.y1 - dest_layer->buf_area.y1; in draw_from_cached_texture()
461 rect.w = data_cached->w; in draw_from_cached_texture()
462 rect.h = data_cached->h; in draw_from_cached_texture()
465 SDL_RenderCopy(renderer, texture, NULL, &rect); in draw_from_cached_texture()
488 SDL_Rect rect; in execute_drawing() local
493 rect.x = fill_area.x1 - layer->buf_area.x1; in execute_drawing()
494 rect.y = fill_area.y1 - layer->buf_area.y1; in execute_drawing()
495 rect.w = lv_area_get_width(&fill_area); in execute_drawing()
496 rect.h = lv_area_get_height(&fill_area); in execute_drawing()
502 SDL_RenderFillRect(renderer, &rect); in execute_drawing()