Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_draw.c317 lv_coord_t sh_width = lv_obj_get_style_shadow_width(obj, part); in lv_obj_calculate_ext_draw_size() local
318 if(sh_width) { in lv_obj_calculate_ext_draw_size()
321 sh_width = sh_width / 2 + 1; /*The blur adds only half width*/ in lv_obj_calculate_ext_draw_size()
322 sh_width += lv_obj_get_style_shadow_spread(obj, part); in lv_obj_calculate_ext_draw_size()
325 sh_width += LV_MAX(LV_ABS(sh_ofs_x), LV_ABS(sh_ofs_y)); in lv_obj_calculate_ext_draw_size()
326 s = LV_MAX(s, sh_width); in lv_obj_calculate_ext_draw_size()