mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 13:27:56 +00:00
The outline of an Eraser drag takes, at each step, the tip the pen gives halfway along it, as path.eraseRegion erases. Two cases still used the tips at the step's ends: - A round tip whose Size follows the pen drew each step as wide as the mean of the tips at its ends. Where an end is held at the 0.1 pt least size, that mean differs from the tip halfway along: with Size 10 pt on Pressure by 20 pt, a step from no pressure to full pressure showed 15.05 pt wide where the release erases 10 pt. - A pen turned or tilted in place at the last point updated the last step only when the tip at that point changed. With Size 10 pt on Tilt by 20 pt, tilting from 80 to 85 degrees after an upright point keeps the end tip at 0.1 pt while the tip halfway along goes from 12.22 pt to 11.11 pt, and the outline kept the old one. The area outline now keeps and compares the tip halfway along the last step.