A rectangle is a container in the canonical schema — it carries clipContent like Frame/Group and models nest content inside one (an image-area rectangle wrapping a photo, a card body, a badge holder). The painter's NodeKind::Rect branch drew the rectangle's own fill and returned without recursing, so every child of a rectangle vanished behind that fill. Measured: an AI-generated travel page whose seven destination photos each sat inside an image-area rectangle rendered as blank cards despite the photos being fetched and embedded. Recurse into the children (honouring clipContent) after the rectangle's own paint, mirroring the Frame branch. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| tests | ||
| Cargo.toml | ||