Searched refs:shadow_area (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_rect.c | 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() [all …]
|
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_rect.c | 631 lv_area_t shadow_area; in draw_shadow() local 632 shadow_area.x1 = core_area.x1 - sw / 2 - 1; in draw_shadow() 633 shadow_area.x2 = core_area.x2 + sw / 2 + 1; in draw_shadow() 634 shadow_area.y1 = core_area.y1 - sw / 2 - 1; in draw_shadow() 635 shadow_area.y2 = core_area.y2 + sw / 2 + 1; in draw_shadow() 644 if(!_lv_area_intersect(&draw_area, &shadow_area, clip)) return; in draw_shadow() 647 lv_area_to_sdl_rect(&shadow_area, &core_area_rect); in draw_shadow() 693 lv_draw_sdl_rect_bg_frag_draw_corners(ctx, texture, blur_frag_size, &shadow_area, clip, false); in draw_shadow() 694 frag_render_borders(ctx->renderer, texture, blur_frag_size, &shadow_area, clip, false); in draw_shadow() 695 frag_render_center(ctx->renderer, texture, blur_frag_size, &shadow_area, clip, false); in draw_shadow()
|