vectorcraft/crates/engine
bflatastic 82b22af43c #788: file.place frames an SVG by its viewBox when crop is given
Placing an SVG fitted and centred it by its art's bounds whatever `crop`
said, so art drawn on a shared canvas lost its place and scale, and
`crop: "crop"` and `crop: "bounding"` gave the same result without a
warning. With `crop: "crop"` given, an SVG is now framed and clipped by
its viewBox (its artboard, as File › Open has it), as a PDF is by its
page: `rect` and `at` fit and centre that frame. By default, as
Illustrator places an SVG, and with "bounding", it is still its art's
bounds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 14:58:33 +07:00
..
src #788: file.place frames an SVG by its viewBox when crop is given 2026-10-11 14:58:33 +07:00
tests Align, Reflect and Shear: object.align needs a direction; unknown choices are errors 2026-10-11 11:33:03 +07:00
Cargo.toml Read Illustrator EPS and .ai layers from their editing data 2026-10-09 03:49:49 -04:00