mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 09:46:19 +01:00
A geometry effect is given the object's box as its reference, for example the center a Transform effect scales and rotates about. Drawing, the preview bounds, Expand Appearance's first step, shape art, the outline check of the .ai reader and a stroke's effects before a Transform that makes the stroke a path of its own measured that box with kurbo's bounding_box, which counts only segments. A lone anchor was left out, and a path of one anchor measured a box at the origin, so it scaled about (0, 0). PathData::bounds, which the selection's box, Align, Transform Each and every later effect in the stack use, holds lone anchors. - geom: anchored_curve_bounds measures a BezPath as PathData::bounds measures the path it stands for. - render, effects and the .ai reader give geometry effects that box. Gradient reference boxes and clip regions are unchanged.