Lines Matching refs:draw_area
76 … void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area,
79 …draw_bg_grad_simple(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area,
82 …draw_bg_grad_radius(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area,
85 …ic void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area,
88 …ic void draw_border(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area,
224 lv_area_t draw_area = {.x1 = 0, .y1 = 0, .x2 = radius - 1, .y2 = radius - 1}; in lv_draw_sdl_rect_grad_frag_obtain() local
226 lv_area_align(&coords, &draw_area, LV_ALIGN_TOP_LEFT, 0, 0); in lv_draw_sdl_rect_grad_frag_obtain()
228 draw_bg_grad_simple(ctx, &blend_coords, &draw_area, grad, true); in lv_draw_sdl_rect_grad_frag_obtain()
231 lv_area_align(&coords, &draw_area, LV_ALIGN_TOP_RIGHT, 0, 0); in lv_draw_sdl_rect_grad_frag_obtain()
233 draw_bg_grad_simple(ctx, &blend_coords, &draw_area, grad, true); in lv_draw_sdl_rect_grad_frag_obtain()
236 lv_area_align(&coords, &draw_area, LV_ALIGN_BOTTOM_RIGHT, 0, 0); in lv_draw_sdl_rect_grad_frag_obtain()
238 draw_bg_grad_simple(ctx, &blend_coords, &draw_area, grad, true); in lv_draw_sdl_rect_grad_frag_obtain()
241 lv_area_align(&coords, &draw_area, LV_ALIGN_BOTTOM_LEFT, 0, 0); in lv_draw_sdl_rect_grad_frag_obtain()
243 draw_bg_grad_simple(ctx, &blend_coords, &draw_area, grad, true); in lv_draw_sdl_rect_grad_frag_obtain()
364 … void draw_bg_color(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, in draw_bg_color() argument
380 draw_bg_grad_simple(ctx, coords, draw_area, &dsc->bg_grad, false); in draw_bg_color()
383 draw_bg_grad_radius(ctx, coords, draw_area, dsc); in draw_bg_color()
389 lv_area_to_sdl_rect(draw_area, &rect); in draw_bg_color()
405 lv_draw_sdl_rect_bg_frag_draw_corners(ctx, texture, real_radius, coords, draw_area, false); in draw_bg_color()
406 frag_render_borders(ctx->renderer, texture, real_radius, coords, draw_area, false); in draw_bg_color()
407 frag_render_center(ctx->renderer, texture, real_radius, coords, draw_area, false); in draw_bg_color()
415 …draw_bg_grad_simple(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, in draw_bg_grad_simple() argument
419 lv_area_to_sdl_rect(draw_area, &dstrect); in draw_bg_grad_simple()
424 srcrect.y = (draw_area->y1 - coords->y1) * 255 / coords_h; in draw_bg_grad_simple()
434 srcrect.x = (draw_area->x1 - coords->x1) * 255 / coords_w; in draw_bg_grad_simple()
461 …draw_bg_grad_radius(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, in draw_bg_grad_radius() argument
473 lv_draw_sdl_rect_bg_frag_draw_corners(ctx, grad_texture, real_radius, coords, draw_area, true); in draw_bg_grad_radius()
484 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
488 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
496 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
507 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
511 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
519 _lv_area_intersect(&part_area, &part_coords, draw_area); in draw_bg_grad_radius()
529 …ic void draw_bg_img(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, in draw_bg_img() argument
532 LV_UNUSED(draw_area); in draw_bg_img()
643 lv_area_t draw_area; in draw_shadow() local
644 if(!_lv_area_intersect(&draw_area, &shadow_area, clip)) return; in draw_shadow()
703 …ic void draw_border(lv_draw_sdl_ctx_t * ctx, const lv_area_t * coords, const lv_area_t * draw_area, in draw_border() argument
721 …draw_border_generic(ctx, coords, &area_inner, draw_area, rout, rin, dsc->border_color, dsc->border… in draw_border()
753 lv_area_t draw_area; in draw_outline() local
754 if(!_lv_area_intersect(&draw_area, &area_outer, clip)) return; in draw_outline()
926 lv_area_t draw_area; in frag_render_center() local
927 if(!_lv_area_intersect(&draw_area, ¢er_area, clipped)) { in frag_render_center()
931 lv_area_to_sdl_rect(&draw_area, &dst_rect); in frag_render_center()