Lines Matching refs:dst_area
286 lv_area_t corner_area, dst_area; in lv_draw_sdl_rect_bg_frag_draw_corners() local
292 if(_lv_area_intersect(&dst_area, &corner_area, clip)) { in lv_draw_sdl_rect_bg_frag_draw_corners()
294 lv_area_to_sdl_rect(&dst_area, &dst_rect); in lv_draw_sdl_rect_bg_frag_draw_corners()
296 lv_coord_t dw = lv_area_get_width(&dst_area), dh = lv_area_get_height(&dst_area); in lv_draw_sdl_rect_bg_frag_draw_corners()
297 …lv_coord_t sx = (lv_coord_t)(dst_area.x1 - corner_area.x1), sy = (lv_coord_t)(dst_area.y1 - corner… in lv_draw_sdl_rect_bg_frag_draw_corners()
304 if(_lv_area_intersect(&dst_area, &corner_area, clip)) { in lv_draw_sdl_rect_bg_frag_draw_corners()
306 lv_area_to_sdl_rect(&dst_area, &dst_rect); in lv_draw_sdl_rect_bg_frag_draw_corners()
308 lv_coord_t dw = lv_area_get_width(&dst_area), dh = lv_area_get_height(&dst_area); in lv_draw_sdl_rect_bg_frag_draw_corners()
310 lv_coord_t sx = (lv_coord_t)(dst_area.x1 - corner_area.x1), in lv_draw_sdl_rect_bg_frag_draw_corners()
311 sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); 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()
323 if(_lv_area_intersect(&dst_area, &corner_area, clip)) { in lv_draw_sdl_rect_bg_frag_draw_corners()
325 lv_area_to_sdl_rect(&dst_area, &dst_rect); in lv_draw_sdl_rect_bg_frag_draw_corners()
327 lv_coord_t dw = lv_area_get_width(&dst_area), dh = lv_area_get_height(&dst_area); in lv_draw_sdl_rect_bg_frag_draw_corners()
329 lv_coord_t sx = (lv_coord_t)(dst_area.x1 - corner_area.x1), in lv_draw_sdl_rect_bg_frag_draw_corners()
330 sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); 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()
342 if(_lv_area_intersect(&dst_area, &corner_area, clip)) { in lv_draw_sdl_rect_bg_frag_draw_corners()
344 lv_area_to_sdl_rect(&dst_area, &dst_rect); in lv_draw_sdl_rect_bg_frag_draw_corners()
346 lv_coord_t dw = lv_area_get_width(&dst_area), dh = lv_area_get_height(&dst_area); in lv_draw_sdl_rect_bg_frag_draw_corners()
348 lv_coord_t sx = (lv_coord_t)(dst_area.x1 - corner_area.x1), in lv_draw_sdl_rect_bg_frag_draw_corners()
349 sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); in lv_draw_sdl_rect_bg_frag_draw_corners()
354 … SDL_Rect src_rect = {dst_area.x1 - corner_area.x1, corner_area.y2 - dst_area.y2, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners()
835 lv_area_t border_area, dst_area; in frag_render_borders() local
841 if(_lv_area_intersect(&dst_area, &border_area, clipped)) { in frag_render_borders()
843 lv_area_to_sdl_rect(&dst_area, &dst_rect); in frag_render_borders()
845 lv_coord_t sy = (lv_coord_t)(dst_area.y1 - border_area.y1); in frag_render_borders()
847 SDL_Rect src_rect = {frag_size + 1, sy, 1, lv_area_get_height(&dst_area)}; in frag_render_borders()
851 SDL_Rect src_rect = {frag_size - 1, sy, 1, lv_area_get_height(&dst_area)}; in frag_render_borders()
858 if(_lv_area_intersect(&dst_area, &border_area, clipped)) { in frag_render_borders()
860 lv_area_to_sdl_rect(&dst_area, &dst_rect); in frag_render_borders()
862 lv_coord_t dh = lv_area_get_height(&dst_area); in frag_render_borders()
864 lv_coord_t sy = (lv_coord_t)(dst_area.y1 - border_area.y1); in frag_render_borders()
869 lv_coord_t sy = (lv_coord_t)(border_area.y2 - dst_area.y2); in frag_render_borders()
879 if(_lv_area_intersect(&dst_area, &border_area, clipped)) { in frag_render_borders()
881 lv_area_to_sdl_rect(&dst_area, &dst_rect); in frag_render_borders()
883 lv_coord_t dw = lv_area_get_width(&dst_area); in frag_render_borders()
884 lv_coord_t sx = (lv_coord_t)(dst_area.x1 - border_area.x1); in frag_render_borders()
897 if(_lv_area_intersect(&dst_area, &border_area, clipped)) { in frag_render_borders()
899 lv_area_to_sdl_rect(&dst_area, &dst_rect); in frag_render_borders()
901 lv_coord_t dw = lv_area_get_width(&dst_area); in frag_render_borders()
903 lv_coord_t sx = (lv_coord_t)(dst_area.x1 - border_area.x1); in frag_render_borders()
908 lv_coord_t sx = (lv_coord_t)(border_area.x2 - dst_area.x2); in frag_render_borders()