Lines Matching refs:blend_area
129 blend_dsc.blend_area = &bg_coords; in draw_bg()
160 lv_area_t blend_area; in draw_bg() local
161 blend_area.x1 = clipped_coords.x1; in draw_bg()
162 blend_area.x2 = clipped_coords.x2; in draw_bg()
165 blend_dsc.blend_area = &blend_area; in draw_bg()
166 blend_dsc.mask_area = &blend_area; in draw_bg()
223 blend_area.y1 = h; in draw_bg()
224 blend_area.y2 = h; in draw_bg()
233 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
251 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, top_y, clipped_w); in draw_bg()
255 blend_area.y1 = top_y; in draw_bg()
256 blend_area.y2 = top_y; in draw_bg()
259 if(dither_func) dither_func(grad, blend_area.x1, top_y - bg_coords.y1, grad_size); in draw_bg()
266 blend_area.y1 = bottom_y; in draw_bg()
267 blend_area.y2 = bottom_y; in draw_bg()
270 if(dither_func) dither_func(grad, blend_area.x1, bottom_y - bg_coords.y1, grad_size); in draw_bg()
287 blend_area.y1 = bg_coords.y1 + rout; in draw_bg()
288 blend_area.y2 = bg_coords.y2 - rout; in draw_bg()
305 blend_area.y1 = h; in draw_bg()
306 blend_area.y2 = h; in draw_bg()
309 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
525 lv_area_t blend_area; in draw_shadow() local
533 blend_dsc.blend_area = &blend_area; in draw_shadow()
534 blend_dsc.mask_area = &blend_area; in draw_shadow()
546 blend_area.x2 = shadow_area.x2; in draw_shadow()
547 blend_area.x1 = shadow_area.x2 - corner_size + 1; in draw_shadow()
548 blend_area.y1 = shadow_area.y1; in draw_shadow()
549 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
551 blend_area.x1 = LV_MAX(blend_area.x1, w_half); in draw_shadow()
552 blend_area.y2 = LV_MIN(blend_area.y2, h_half); in draw_shadow()
554 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
566 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
567 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
570 blend_area.y1 = y; in draw_shadow()
571 blend_area.y2 = y; in draw_shadow()
589 blend_area.x2 = shadow_area.x2; in draw_shadow()
590 blend_area.x1 = shadow_area.x2 - corner_size + 1; in draw_shadow()
591 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
592 blend_area.y2 = shadow_area.y2; in draw_shadow()
594 blend_area.x1 = LV_MAX(blend_area.x1, w_half); in draw_shadow()
595 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
597 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
601 sh_buf_tmp += (blend_area.y2 - clip_area_sub.y2) * corner_size; in draw_shadow()
609 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
610 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
613 blend_area.y1 = y; in draw_shadow()
614 blend_area.y2 = y; in draw_shadow()
631 blend_area.x1 = shadow_area.x1 + corner_size; in draw_shadow()
632 blend_area.x2 = shadow_area.x2 - corner_size; in draw_shadow()
633 blend_area.y1 = shadow_area.y1; in draw_shadow()
634 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
635 blend_area.y2 = LV_MIN(blend_area.y2, h_half); in draw_shadow()
637 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
641 sh_buf_tmp += (clip_area_sub.y1 - blend_area.y1) * corner_size; in draw_shadow()
654 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
655 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
658 blend_area.y1 = y; in draw_shadow()
659 blend_area.y2 = y; in draw_shadow()
678 blend_area.x1 = shadow_area.x1 + corner_size; in draw_shadow()
679 blend_area.x2 = shadow_area.x2 - corner_size; in draw_shadow()
680 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
681 blend_area.y2 = shadow_area.y2; in draw_shadow()
682 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
685 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
689 sh_buf_tmp += (blend_area.y2 - clip_area_sub.y2) * corner_size; in draw_shadow()
701 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
702 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
705 blend_area.y1 = y; in draw_shadow()
706 blend_area.y2 = y; in draw_shadow()
731 blend_area.x1 = shadow_area.x2 - corner_size + 1; in draw_shadow()
732 blend_area.x2 = shadow_area.x2; in draw_shadow()
733 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
734 blend_area.y2 = shadow_area.y2 - corner_size; in draw_shadow()
736 blend_area.y1 = LV_MIN(blend_area.y1, h_half + 1); in draw_shadow()
737 blend_area.y2 = LV_MAX(blend_area.y2, h_half); in draw_shadow()
738 blend_area.x1 = LV_MAX(blend_area.x1, w_half); in draw_shadow()
740 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
753 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
754 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
757 blend_area.y1 = y; in draw_shadow()
758 blend_area.y2 = y; in draw_shadow()
788 blend_area.x1 = shadow_area.x1; in draw_shadow()
789 blend_area.x2 = shadow_area.x1 + corner_size - 1; in draw_shadow()
790 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
791 blend_area.y2 = shadow_area.y2 - corner_size; in draw_shadow()
793 blend_area.y1 = LV_MIN(blend_area.y1, h_half + 1); in draw_shadow()
794 blend_area.y2 = LV_MAX(blend_area.y2, h_half); in draw_shadow()
795 blend_area.x2 = LV_MIN(blend_area.x2, w_half - 1); in draw_shadow()
797 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
802 sh_buf_tmp += clip_area_sub.x1 - blend_area.x1; in draw_shadow()
809 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
810 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
813 blend_area.y1 = y; in draw_shadow()
814 blend_area.y2 = y; in draw_shadow()
828 blend_area.x1 = shadow_area.x1; in draw_shadow()
829 blend_area.x2 = shadow_area.x1 + corner_size - 1; in draw_shadow()
830 blend_area.y1 = shadow_area.y1; in draw_shadow()
831 blend_area.y2 = shadow_area.y1 + corner_size - 1; in draw_shadow()
833 blend_area.x2 = LV_MIN(blend_area.x2, w_half - 1); in draw_shadow()
834 blend_area.y2 = LV_MIN(blend_area.y2, h_half); in draw_shadow()
836 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
840 sh_buf_tmp += (clip_area_sub.y1 - blend_area.y1) * corner_size; in draw_shadow()
841 sh_buf_tmp += clip_area_sub.x1 - blend_area.x1; in draw_shadow()
849 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
850 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
853 blend_area.y1 = y; in draw_shadow()
854 blend_area.y2 = y; in draw_shadow()
873 blend_area.x1 = shadow_area.x1 ; in draw_shadow()
874 blend_area.x2 = shadow_area.x1 + corner_size - 1; in draw_shadow()
875 blend_area.y1 = shadow_area.y2 - corner_size + 1; in draw_shadow()
876 blend_area.y2 = shadow_area.y2; in draw_shadow()
878 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
879 blend_area.x2 = LV_MIN(blend_area.x2, w_half - 1); in draw_shadow()
881 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
885 sh_buf_tmp += (blend_area.y2 - clip_area_sub.y2) * corner_size; in draw_shadow()
886 sh_buf_tmp += clip_area_sub.x1 - blend_area.x1; in draw_shadow()
893 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
894 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
897 blend_area.y1 = y; in draw_shadow()
898 blend_area.y2 = y; in draw_shadow()
915 blend_area.x1 = shadow_area.x1 + corner_size ; in draw_shadow()
916 blend_area.x2 = shadow_area.x2 - corner_size; in draw_shadow()
917 blend_area.y1 = shadow_area.y1 + corner_size; in draw_shadow()
918 blend_area.y2 = shadow_area.y2 - corner_size; in draw_shadow()
921 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
925 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
926 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
928 blend_area.y1 = y; in draw_shadow()
929 blend_area.y2 = y; in draw_shadow()
1194 lv_area_t blend_area; in draw_border_generic() local
1195 blend_dsc.blend_area = &blend_area; in draw_border_generic()
1196 blend_dsc.mask_area = &blend_area; in draw_border_generic()
1214 blend_area.x1 = draw_area.x1; in draw_border_generic()
1215 blend_area.x2 = draw_area.x2; in draw_border_generic()
1220 blend_area.y1 = h; in draw_border_generic()
1221 blend_area.y2 = h; in draw_border_generic()
1251 blend_area.x1 = core_area.x1; in draw_border_generic()
1252 blend_area.x2 = core_area.x2; in draw_border_generic()
1253 blend_area.y1 = outer_area->y1; in draw_border_generic()
1254 blend_area.y2 = inner_area->y1 - 1; in draw_border_generic()
1259 blend_area.x1 = core_area.x1; in draw_border_generic()
1260 blend_area.x2 = core_area.x2; in draw_border_generic()
1261 blend_area.y1 = inner_area->y2 + 1; in draw_border_generic()
1262 blend_area.y2 = outer_area->y2; in draw_border_generic()
1267 blend_area.x1 = outer_area->x1; in draw_border_generic()
1268 blend_area.x2 = inner_area->x1 - 1; in draw_border_generic()
1269 blend_area.y1 = core_area.y1; in draw_border_generic()
1270 blend_area.y2 = core_area.y2; in draw_border_generic()
1275 blend_area.x1 = inner_area->x2 + 1; in draw_border_generic()
1276 blend_area.x2 = outer_area->x2; in draw_border_generic()
1277 blend_area.y1 = core_area.y1; in draw_border_generic()
1278 blend_area.y2 = core_area.y2; in draw_border_generic()
1288 blend_area.x1 = draw_area.x1; in draw_border_generic()
1289 blend_area.x2 = draw_area.x2; in draw_border_generic()
1297 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, top_y, draw_area_w); in draw_border_generic()
1300 blend_area.y1 = top_y; in draw_border_generic()
1301 blend_area.y2 = top_y; in draw_border_generic()
1306 blend_area.y1 = bottom_y; in draw_border_generic()
1307 blend_area.y2 = bottom_y; in draw_border_generic()
1314 blend_area.x1 = draw_area.x1; in draw_border_generic()
1315 blend_area.x2 = LV_MIN(draw_area.x2, core_area.x1 - 1); in draw_border_generic()
1316 blend_w = lv_area_get_width(&blend_area); in draw_border_generic()
1320 blend_area.y1 = h; in draw_border_generic()
1321 blend_area.y2 = h; in draw_border_generic()
1324 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1331 blend_area.y1 = h; in draw_border_generic()
1332 blend_area.y2 = h; in draw_border_generic()
1335 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1342 blend_area.x1 = LV_MAX(draw_area.x1, core_area.x2 + 1); in draw_border_generic()
1343 blend_area.x2 = draw_area.x2; in draw_border_generic()
1344 blend_w = lv_area_get_width(&blend_area); in draw_border_generic()
1349 blend_area.y1 = h; in draw_border_generic()
1350 blend_area.y2 = h; in draw_border_generic()
1353 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1360 blend_area.y1 = h; in draw_border_generic()
1361 blend_area.y2 = h; in draw_border_generic()
1364 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1394 blend_dsc.blend_area = &a; in draw_border_simple()