Function paint_panel
pub fn paint_panel(
scene: &mut Scene,
transform: Affine,
rect: Rect,
theme: &Theme,
shadow_intensity: f32,
) -> PaintedPanelExpand description
Paint a floating ChromeRole::Panel body: its shadow at
shadow_intensity, the panel_ground fill and the 1 px
panel_border, all at the Panel radius. Returns the body’s outline
and the theme the panel’s contents are drawn with.