Files
mcde/programs
lotherk ffbf8c7f2d MCDE dtpaint: curve and polygon tools (D3)
Curve is the reference's two-phase tool: drag the two end points, release,
then move to bend the quadratic Bezier and click to commit.  Polygon adds a
vertex per left click, previews the open outline with a rubber line to the
pointer, and closes on a right click or a double click; leaving the tool
restores the snapshot.  Both keep the one-step undo (snapshot at the first
press).  Measured under Xvfb: a bent curve from (300,200) to (500,300)
through (400,150); a closed quadrilateral; Undo removes the polygon and
keeps the earlier curve.
2026-11-22 06:59:01 +00:00
..