Skip to main content

draw

Function draw 

Source
pub fn draw(
    source: &Bundle,
    pack: &Bundle,
    paths: &[String],
) -> Result<Vec<u8>, String>
Expand description

The contact sheet, a PNG file, of the pictures at paths: each read from source (a PNG) and from pack (its one-bit picture). An error names a picture that is no PNG in the sources or no one-bit picture in the pack.