Home
last modified time | relevance | path

Searched refs:src_rect (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_rect.c298 SDL_Rect src_rect = {sx, sy, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners() local
299 SDL_RenderCopy(ctx->renderer, frag, &src_rect, &dst_rect); in lv_draw_sdl_rect_bg_frag_draw_corners()
312 SDL_Rect src_rect = {frag_size + FRAG_SPACING + sx, sy, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners() local
313 SDL_RenderCopy(ctx->renderer, frag, &src_rect, &dst_rect); in lv_draw_sdl_rect_bg_frag_draw_corners()
316 … SDL_Rect src_rect = {corner_area.x2 - dst_area.x2, dst_area.y1 - corner_area.y1, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners() local
317 … SDL_RenderCopyEx(ctx->renderer, frag, &src_rect, &dst_rect, 0, NULL, SDL_FLIP_HORIZONTAL); in lv_draw_sdl_rect_bg_frag_draw_corners()
331 … SDL_Rect src_rect = {frag_size + FRAG_SPACING + sx, frag_size + FRAG_SPACING + sy, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners() local
332 SDL_RenderCopy(ctx->renderer, frag, &src_rect, &dst_rect); in lv_draw_sdl_rect_bg_frag_draw_corners()
335 … SDL_Rect src_rect = {corner_area.x2 - dst_area.x2, corner_area.y2 - dst_area.y2, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners() local
336 …SDL_RenderCopyEx(ctx->renderer, frag, &src_rect, &dst_rect, 0, NULL, SDL_FLIP_HORIZONTAL | SDL_FLI… in lv_draw_sdl_rect_bg_frag_draw_corners()
[all …]
Dlv_draw_sdl_composite.c132 SDL_Rect src_rect = {0, 0, lv_area_get_width(apply_area), lv_area_get_height(apply_area)}; in lv_draw_sdl_composite_end() local
139 SDL_RenderCopy(ctx->renderer, internals->mask, &src_rect, &src_rect); in lv_draw_sdl_composite_end()
178 SDL_RenderCopy(ctx->renderer, internals->composition, &src_rect, &dst_rect); in lv_draw_sdl_composite_end()
Dlv_draw_sdl_img.c323 SDL_Rect src_rect, dst_rect; in draw_img_simple() local
324 calc_draw_part(texture, header, coords, clip, &src_rect, &dst_rect); in draw_img_simple()
325 …SDL_RenderCopyEx(ctx->renderer, texture, &src_rect, &dst_rect, draw_dsc->angle, &pivot, SDL_FLIP_N… in draw_img_simple()
344 SDL_Rect src_rect, dst_rect; in draw_img_rounded() local
347 calc_draw_part(texture, header, coords, NULL, &src_rect, &dst_rect); in draw_img_rounded()
375 SDL_RenderCopy(ctx->renderer, texture, &src_rect, &dst_rect); in draw_img_rounded()