Lines Matching refs:blend_area

126         blend_dsc.blend_area = &bg_coords;  in draw_bg()
157 lv_area_t blend_area; in draw_bg() local
158 blend_area.x1 = clipped_coords.x1; in draw_bg()
159 blend_area.x2 = clipped_coords.x2; in draw_bg()
162 blend_dsc.blend_area = &blend_area; in draw_bg()
163 blend_dsc.mask_area = &blend_area; in draw_bg()
219 blend_area.y1 = h; in draw_bg()
220 blend_area.y2 = h; in draw_bg()
229 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
246 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, top_y, clipped_w); in draw_bg()
250 blend_area.y1 = top_y; in draw_bg()
251 blend_area.y2 = top_y; in draw_bg()
254 if(dither_func) dither_func(grad, blend_area.x1, top_y - bg_coords.y1, grad_size); in draw_bg()
261 blend_area.y1 = bottom_y; in draw_bg()
262 blend_area.y2 = bottom_y; in draw_bg()
265 if(dither_func) dither_func(grad, blend_area.x1, bottom_y - bg_coords.y1, grad_size); in draw_bg()
282 blend_area.y1 = bg_coords.y1 + rout; in draw_bg()
283 blend_area.y2 = bg_coords.y2 - rout; in draw_bg()
300 blend_area.y1 = h; in draw_bg()
301 blend_area.y2 = h; in draw_bg()
304 if(dither_func) dither_func(grad, blend_area.x1, h - bg_coords.y1, grad_size); in draw_bg()
518 lv_area_t blend_area; in draw_shadow() local
526 blend_dsc.blend_area = &blend_area; in draw_shadow()
527 blend_dsc.mask_area = &blend_area; 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()
544 blend_area.x1 = LV_MAX(blend_area.x1, w_half); in draw_shadow()
545 blend_area.y2 = LV_MIN(blend_area.y2, h_half); in draw_shadow()
547 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
559 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
560 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
563 blend_area.y1 = y; in draw_shadow()
564 blend_area.y2 = y; 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()
587 blend_area.x1 = LV_MAX(blend_area.x1, w_half); in draw_shadow()
588 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
590 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
594 sh_buf_tmp += (blend_area.y2 - clip_area_sub.y2) * corner_size; in draw_shadow()
602 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
603 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
606 blend_area.y1 = y; in draw_shadow()
607 blend_area.y2 = y; 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()
628 blend_area.y2 = LV_MIN(blend_area.y2, h_half); in draw_shadow()
630 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
634 sh_buf_tmp += (clip_area_sub.y1 - blend_area.y1) * corner_size; in draw_shadow()
647 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
648 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
651 blend_area.y1 = y; in draw_shadow()
652 blend_area.y2 = y; 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()
675 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
677 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
681 sh_buf_tmp += (blend_area.y2 - clip_area_sub.y2) * corner_size; in draw_shadow()
693 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
694 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
697 blend_area.y1 = y; in draw_shadow()
698 blend_area.y2 = y; 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()
728 blend_area.y1 = LV_MIN(blend_area.y1, h_half + 1); in draw_shadow()
729 blend_area.y2 = LV_MAX(blend_area.y2, h_half); in draw_shadow()
730 blend_area.x1 = LV_MAX(blend_area.x1, w_half); in draw_shadow()
732 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
745 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
746 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
749 blend_area.y1 = y; in draw_shadow()
750 blend_area.y2 = y; 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()
785 blend_area.y1 = LV_MIN(blend_area.y1, h_half + 1); in draw_shadow()
786 blend_area.y2 = LV_MAX(blend_area.y2, h_half); in draw_shadow()
787 blend_area.x2 = LV_MIN(blend_area.x2, w_half - 1); in draw_shadow()
789 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
794 sh_buf_tmp += clip_area_sub.x1 - blend_area.x1; in draw_shadow()
801 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
802 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
805 blend_area.y1 = y; in draw_shadow()
806 blend_area.y2 = y; 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()
825 blend_area.x2 = LV_MIN(blend_area.x2, w_half - 1); in draw_shadow()
826 blend_area.y2 = LV_MIN(blend_area.y2, h_half); in draw_shadow()
828 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
832 sh_buf_tmp += (clip_area_sub.y1 - blend_area.y1) * corner_size; in draw_shadow()
833 sh_buf_tmp += clip_area_sub.x1 - blend_area.x1; in draw_shadow()
841 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
842 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
845 blend_area.y1 = y; in draw_shadow()
846 blend_area.y2 = y; 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()
870 blend_area.y1 = LV_MAX(blend_area.y1, h_half + 1); in draw_shadow()
871 blend_area.x2 = LV_MIN(blend_area.x2, w_half - 1); in draw_shadow()
873 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
877 sh_buf_tmp += (blend_area.y2 - clip_area_sub.y2) * corner_size; in draw_shadow()
878 sh_buf_tmp += clip_area_sub.x1 - blend_area.x1; in draw_shadow()
885 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
886 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
889 blend_area.y1 = y; in draw_shadow()
890 blend_area.y2 = y; 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()
913 if(_lv_area_intersect(&clip_area_sub, &blend_area, draw_ctx->clip_area) && in draw_shadow()
917 blend_area.x1 = clip_area_sub.x1; in draw_shadow()
918 blend_area.x2 = clip_area_sub.x2; in draw_shadow()
920 blend_area.y1 = y; in draw_shadow()
921 blend_area.y2 = y; in draw_shadow()
1184 lv_area_t blend_area; in draw_border_generic() local
1185 blend_dsc.blend_area = &blend_area; in draw_border_generic()
1186 blend_dsc.mask_area = &blend_area; in draw_border_generic()
1204 blend_area.x1 = draw_area.x1; in draw_border_generic()
1205 blend_area.x2 = draw_area.x2; in draw_border_generic()
1210 blend_area.y1 = h; in draw_border_generic()
1211 blend_area.y2 = h; in draw_border_generic()
1241 blend_area.x1 = core_area.x1; in draw_border_generic()
1242 blend_area.x2 = core_area.x2; in draw_border_generic()
1243 blend_area.y1 = outer_area->y1; in draw_border_generic()
1244 blend_area.y2 = inner_area->y1 - 1; in draw_border_generic()
1249 blend_area.x1 = core_area.x1; in draw_border_generic()
1250 blend_area.x2 = core_area.x2; in draw_border_generic()
1251 blend_area.y1 = inner_area->y2 + 1; in draw_border_generic()
1252 blend_area.y2 = outer_area->y2; in draw_border_generic()
1257 blend_area.x1 = outer_area->x1; in draw_border_generic()
1258 blend_area.x2 = inner_area->x1 - 1; in draw_border_generic()
1259 blend_area.y1 = core_area.y1; in draw_border_generic()
1260 blend_area.y2 = core_area.y2; in draw_border_generic()
1265 blend_area.x1 = inner_area->x2 + 1; in draw_border_generic()
1266 blend_area.x2 = outer_area->x2; in draw_border_generic()
1267 blend_area.y1 = core_area.y1; in draw_border_generic()
1268 blend_area.y2 = core_area.y2; in draw_border_generic()
1278 blend_area.x1 = draw_area.x1; in draw_border_generic()
1279 blend_area.x2 = draw_area.x2; in draw_border_generic()
1287 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, top_y, draw_area_w); in draw_border_generic()
1290 blend_area.y1 = top_y; in draw_border_generic()
1291 blend_area.y2 = top_y; in draw_border_generic()
1296 blend_area.y1 = bottom_y; in draw_border_generic()
1297 blend_area.y2 = bottom_y; in draw_border_generic()
1304 blend_area.x1 = draw_area.x1; in draw_border_generic()
1305 blend_area.x2 = LV_MIN(draw_area.x2, core_area.x1 - 1); in draw_border_generic()
1306 blend_w = lv_area_get_width(&blend_area); in draw_border_generic()
1310 blend_area.y1 = h; in draw_border_generic()
1311 blend_area.y2 = h; in draw_border_generic()
1314 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1321 blend_area.y1 = h; in draw_border_generic()
1322 blend_area.y2 = h; in draw_border_generic()
1325 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1332 blend_area.x1 = LV_MAX(draw_area.x1, core_area.x2 + 1); in draw_border_generic()
1333 blend_area.x2 = draw_area.x2; in draw_border_generic()
1334 blend_w = lv_area_get_width(&blend_area); in draw_border_generic()
1339 blend_area.y1 = h; in draw_border_generic()
1340 blend_area.y2 = h; in draw_border_generic()
1343 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1350 blend_area.y1 = h; in draw_border_generic()
1351 blend_area.y2 = h; in draw_border_generic()
1354 … blend_dsc.mask_res = lv_draw_mask_apply(blend_dsc.mask_buf, blend_area.x1, h, blend_w); in draw_border_generic()
1384 blend_dsc.blend_area = &a; in draw_border_simple()