Home
last modified time | relevance | path

Searched refs:core_area (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_rect.c440 lv_area_t core_area; in draw_shadow() local
441 core_area.x1 = coords->x1 + dsc->shadow_ofs_x - dsc->shadow_spread; in draw_shadow()
442 core_area.x2 = coords->x2 + dsc->shadow_ofs_x + dsc->shadow_spread; in draw_shadow()
443 core_area.y1 = coords->y1 + dsc->shadow_ofs_y - dsc->shadow_spread; in draw_shadow()
444 core_area.y2 = coords->y2 + dsc->shadow_ofs_y + dsc->shadow_spread; in draw_shadow()
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()
473 short_side = LV_MIN(lv_area_get_width(&core_area), lv_area_get_height(&core_area)); in draw_shadow()
[all …]
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_rect.c625 lv_area_t core_area; in draw_shadow() local
626 core_area.x1 = coords->x1 + dsc->shadow_ofs_x - dsc->shadow_spread; in draw_shadow()
627 core_area.x2 = coords->x2 + dsc->shadow_ofs_x + dsc->shadow_spread; in draw_shadow()
628 core_area.y1 = coords->y1 + dsc->shadow_ofs_y - dsc->shadow_spread; in draw_shadow()
629 core_area.y2 = coords->y2 + dsc->shadow_ofs_y + dsc->shadow_spread; in draw_shadow()
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()
651 …lv_coord_t frag_size = LV_MIN3(lv_area_get_width(&core_area) / 2, lv_area_get_height(&core_area) /… in draw_shadow()