Function draw
pub fn draw(
scene: &mut Scene,
transform: Affine,
page: Rect,
paper: AlphaColor<Srgb>,
elevation: &Shadow,
)Expand description
Draw a rounded paper sheet lifted off the desk by elevation.
The lift comes from the shared painter, so a page is raised by the same material as every other surface.