Lines Matching refs:shadow_area
447 lv_area_t shadow_area; in draw_shadow() local
448 shadow_area.x1 = core_area.x1 - dsc->shadow_width / 2 - 1; in draw_shadow()
449 shadow_area.x2 = core_area.x2 + dsc->shadow_width / 2 + 1; in draw_shadow()
450 shadow_area.y1 = core_area.y1 - dsc->shadow_width / 2 - 1; in draw_shadow()
451 shadow_area.y2 = core_area.y2 + dsc->shadow_width / 2 + 1; in draw_shadow()
459 if(!_lv_area_intersect(&draw_area, &shadow_area, draw_ctx->clip_area)) return; in draw_shadow()
505 bool mask_any = lv_draw_mask_is_any(&shadow_area); in draw_shadow()
517 lv_opa_t * mask_buf = lv_mem_buf_get(lv_area_get_width(&shadow_area)); in draw_shadow()
533 lv_coord_t w_half = shadow_area.x1 + lv_area_get_width(&shadow_area) / 2; in draw_shadow()
534 lv_coord_t h_half = shadow_area.y1 + lv_area_get_height(&shadow_area) / 2; in draw_shadow()
539 blend_area.x2 = shadow_area.x2; in draw_shadow()
540 blend_area.x1 = shadow_area.x2 - corner_size + 1; in draw_shadow()
541 blend_area.y1 = shadow_area.y1; in draw_shadow()
542 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
551 sh_buf_tmp += (clip_area_sub.y1 - shadow_area.y1) * corner_size; in draw_shadow()
552 sh_buf_tmp += clip_area_sub.x1 - (shadow_area.x2 - corner_size + 1); in draw_shadow()
582 blend_area.x2 = shadow_area.x2; in draw_shadow()
583 blend_area.x1 = shadow_area.x2 - corner_size + 1; in draw_shadow()
584 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
585 blend_area.y2 = shadow_area.y2; in draw_shadow()
595 sh_buf_tmp += clip_area_sub.x1 - (shadow_area.x2 - corner_size + 1); in draw_shadow()
624 blend_area.x1 = shadow_area.x1 + corner_size; in draw_shadow()
625 blend_area.x2 = shadow_area.x2 - corner_size; in draw_shadow()
626 blend_area.y1 = shadow_area.y1; in draw_shadow()
627 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
671 blend_area.x1 = shadow_area.x1 + corner_size; in draw_shadow()
672 blend_area.x2 = shadow_area.x2 - corner_size; in draw_shadow()
673 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
674 blend_area.y2 = shadow_area.y2; in draw_shadow()
723 blend_area.x1 = shadow_area.x2 - corner_size + 1; in draw_shadow()
724 blend_area.x2 = shadow_area.x2; in draw_shadow()
725 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
726 blend_area.y2 = shadow_area.y2 - corner_size; in draw_shadow()
737 sh_buf_tmp += clip_area_sub.x1 - (shadow_area.x2 - corner_size + 1); in draw_shadow()
780 blend_area.x1 = shadow_area.x1; in draw_shadow()
781 blend_area.x2 = shadow_area.x1 + corner_size - 1; in draw_shadow()
782 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
783 blend_area.y2 = shadow_area.y2 - corner_size; in draw_shadow()
820 blend_area.x1 = shadow_area.x1; in draw_shadow()
821 blend_area.x2 = shadow_area.x1 + corner_size - 1; in draw_shadow()
822 blend_area.y1 = shadow_area.y1; in draw_shadow()
823 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
865 blend_area.x1 = shadow_area.x1 ; in draw_shadow()
866 blend_area.x2 = shadow_area.x1 + corner_size - 1; in draw_shadow()
867 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
868 blend_area.y2 = shadow_area.y2; in draw_shadow()
907 blend_area.x1 = shadow_area.x1 + corner_size ; in draw_shadow()
908 blend_area.x2 = shadow_area.x2 - corner_size; in draw_shadow()
909 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
910 blend_area.y2 = shadow_area.y2 - corner_size; in draw_shadow()