Skip to main content

draw_app_image

Function draw_app_image 

pub fn draw_app_image(
    scene: &mut Scene,
    transform: Affine,
    rect: Rect,
    image: &AppImage,
) -> bool
Expand description

Paint image filling rect, rasterised for the device size rect covers. Returns false, painting nothing, when the source has no pixels, so the caller can fall back to a glyph.