Files
craft-libs/crates/svg
FredApps 3919a28583 svg: a scene in local coordinates, with fill rules and element ids (#778, #789) (#1859)
* svg: a scene in local coordinates, with fill rules and element ids (#778, #789)

Document::from_tree_local keeps every node in its own user space, with its
transform relative to its parent, so an app can keep geometry editable apart
from where it is placed (EffectCraft's shape layers). Paths now carry their
fill rule, id and transform, and groups their id. from_tree is unchanged:
segments, strokes and group transforms stay absolute, path transforms are the
identity.

* craft-svg: place local text and glyph groups in their own frames (#789)

* svg: pattern paints carry their tile and content (#778, #789) (#1863)

Paint::Pattern now holds the resolved tile: id, rect, transform and the
content as scene nodes in tile space. Each pattern is converted once and
shared by every use; content past the depth limit, or a pattern that refers
back to itself, has none. In absolute scenes the tile transform maps to the
document.

* craft-svg: report scene-omitted group effects and unsupported elements (#789) (#1870)
2026-11-16 09:55:27 -05:00
..