mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-02 16:44:16 +02:00
ffa76a61c1
The diagram toolbar gets an "Ajouter un arc" button next to the ellipse. Click one end, then click the other end at the height the arc should reach: the result is a half arc bulging up or down from the line between the two clicks (Shift: a true half circle). It is not filled, since a fill would close it into a half disc. A selected half arc shows one more handle, in the middle of the curve. Dragging it makes the arc deeper or flatter while both ends stay put; dragging it across the line between the ends turns the arc over. The handle is hidden whenever the arc is not a half arc on a horizontal or vertical diameter, because only then is "keep the ends, move the middle" one well-defined change. Nothing new is stored: an arc stays an Ellipse with a start and end angle, exactly as the existing arc handles of an ellipse save it, so files read by older versions are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>