mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
PathData::bounds joined only the boxes of segments. A subpath with a single anchor has no segment, so its point was left out: a path of two lone anchors such as "M 10 20 M 90 80" measured an empty box at the origin, and a lone anchor beside a segment did not widen the box. A path of exactly one anchor already measured that anchor's point. Each subpath without a segment now adds its anchor's point to the box.