Files
vectorcraft/crates
dotCooCoo 28de8119c6 Canvas: a long dashed overlay line draws only the dashes on screen
A dashed tool overlay line was dashed over its whole screen length, so
a line that runs far past the canvas at a high zoom built a dash shape
for every 7 px of it, nearly all of them off screen. A line millions of
pixels long built hundreds of thousands of shapes every frame.

The line is now clipped to the canvas in f64 before it is dashed, with
the pattern started where the whole line would have it, so the visible
dashes stay where they were. A line off the canvas, or with an end at
infinity, draws nothing.
2026-11-21 02:33:23 -08:00
..
2026-11-19 15:24:38 +07:00
2026-11-19 06:08:29 -08:00
2026-11-20 06:07:45 +07:00