Skip to main content

paint_page

Function paint_page 

Source
pub fn paint_page(
    page: &Page,
    text: &mut TextSystem,
    scene: &mut Scene,
    origin: Point,
    scale: f32,
)
Expand description

Paints page with its top-left corner at origin, scale logical pixels per point. Draws the white paper with a soft shadow, then the content.