mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
With Scale or Width on a pen input, a pattern tile or art brush art was bent by checking the outline at evenly spaced positions, so a pen change that fell between two of them was drawn at the size on either side. A 10 x 4 pt tile on a 10 pt path with a pressure peak at 2.2 pt was 2 pt either side there instead of 6 pt. The bent outline is now split at the recorded pen samples where the size turns by more than the outline's tolerance, in both the fitted curves and the chords, so those samples land on anchors. Samples that keep the size on a straight course add no anchors.