Skip to main content

paint_backdrop

Function paint_backdrop 

pub fn paint_backdrop(
    scene: &mut Scene,
    transform: Affine,
    text_renderer: &mut TextRenderer,
    theme: &Theme,
    layout: &ModalLayout,
    spec: &ModalSpec<'_>,
)
Expand description

Paint the scrim, the sheet, the title and the close control. Call before drawing the body.