mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
The Ellipse tool previewed the circle through two Shift-clicked points and the pointer as a dashed outline at any size. The canvas dashes an outline along its whole length, so points nearly on one line (a radius of about 1,250,000 pt) gave about a million dashes every frame. The preview now uses the Circle tool's limit: a circle more than 50,000 screen points around is drawn solid. Both tools call one helper, `circle::preview_dashed`.