Function clipped
pub fn clipped<R>(
scene: &mut Scene,
transform: Affine,
clip: Rect,
draw: impl FnOnce(&mut Scene) -> R,
) -> RExpand description
Paint draw clipped to clip (under transform), in a layer of its
own, so a region drawn as a part of its own carries its clip with it.