Function seed_mask_points

Source
pub(crate) fn seed_mask_points(m: &mut Mask)
Expand description

A Polygon/Path mask is drawn from points; with fewer than 3 vertices the rasteriser reports “outside everywhere” and the masked clip disappears with no way back. Seed the vertices from the mask’s own rect so every shape switch leaves something visible and editable.