mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
A round or projecting cap draws a dot for a closed subpath of one anchor. The bounds the effects are measured by left that dot out: the visual and cull bounds, the box Rasterize makes its image over, and the reach of an effected path's raster effects. A path of only lone anchors was measured at the origin. - `vectorcraft_geom::path::drawn_curve_bounds` measures a kurbo path as `PathData::drawn_bounds` measures the anchors it stands for. - `crates/render/src/fx` measures effected paths with it, and a path that draws nothing by its anchors, as `Node::visual_bounds` does. - A stroke measured along its segments (miter and bevel joins, projecting caps) gives the dot of a closed lone anchor its reach.