Files
vectorcraft/docs
bflatastic 7b41de9ef6 Image Trace: stroked lines get square caps where their ink is cut square
Create: Strokes drew every line with round caps: a square-ended line 10 px wide
had its corners 2.94 px outside the stroke.

- A line's ends are square when its ink reaches as far a third of the width to
  either side of its middle as along it (a round end stops short there by a
  seventh of the width); told from lines 3 px wide and more, all the ends of a
  line together. The stroke then has square caps (`TracedPath::square_caps`).
- The last points of a wide line's skeleton turn towards a corner of its end.
  The end is now placed on the line the skeleton followed a width back, and may
  be pulled back as well as pushed out to where the ink ends.

Outline on the thin-line inputs: largest distance from the art 2.94 -> 1.30 px
(clean 2.94 -> 0.41; aliased 0.88 -> 1.30), mean 0.055 px as before.
2026-10-13 13:39:03 +07:00
..