Function painted_bounds
pub fn painted_bounds(rect: Rect, theme: &Theme) -> RectExpand description
Every pixel a floating Panel in rect paints, its shadow included: what
a host repaints where one appears, changes or goes. Tighter than
shadow_reach on every side, as it follows the shadow’s real kernel
and offset (crate::surface::shadow_bounds).