Skip to main content

image_placements

Function image_placements 

Source
pub fn image_placements<'a>(
    view: &'a View,
    resolved: &ResolvedView,
    cell_pixels: Option<PixelSize>,
) -> Vec<GraphicPlacement<'a>>
Expand description

Returns the image placements embedded in view after layout resolution.

Interactive hosts use these protocol-neutral rectangles to coordinate the cell layer with a selected graphics lifecycle. An image whose anchor is not present in resolved is omitted; a completely clipped image remains a placement with no visible rectangle.