Skip to main content

image

Function image 

Source
pub fn image(
    doc: &Document,
    new: NewImage,
    asset: &Asset,
    builder: &mut CommitBuilder,
)
Expand description

Inventory row “New Image”: place a picked file as free-floating artwork. Its box is the one float geometry the document stores — unsnapped, so the image keeps the aspect the drag or the file gave it.