Searched refs:sh_width (Results 1 – 1 of 1) sorted by relevance
317 lv_coord_t sh_width = lv_obj_get_style_shadow_width(obj, part); in lv_obj_calculate_ext_draw_size() local318 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()