Wrapping up "shapes from corner" option

Works well, or at least well enough, for our current batch of
shapes.
This commit is contained in:
Bill Kendrick 2020-08-15 16:20:51 -07:00
parent f734d21fa4
commit d2d9b98291
4 changed files with 97 additions and 8 deletions

View file

@ -35,7 +35,7 @@
</p>
<p>
June 14, 2002 - July 27, 2020
June 14, 2002 - August 15, 2020
</p>
</center>
@ -707,11 +707,47 @@
(circle, square, oval, etc.).
</p>
<p>
Use the options at the bottom right to choose
the shape tool's behavior:
</p>
<dl>
<dt>
Shapes from center
</dt>
<dd>
The shape will expand from where you initially
clicked, and will be centered around that position.
(This was Tux&nbsp;Paint's only behavior through
version 0.9.24.)
</dd>
<dt>
Shapes from corner
</dt>
<dd>
The shape will extend with one corner starting
from where you initially clicked. This is the
default method of most other traditional drawing
software. (This option was added starting with
Tux&nbsp;Paint version 0.9.25.)
</dd>
</dl>
<p>
Note: If shape controls are disabled (e.g., with the
"<code>--noshapecontrols</code>" option), the controls
will not be presented, and the "shapes from center"
method will be used.
</p>
<p>
In the canvas, click the mouse and hold it to
stretch the shape out from where you clicked. Some
shapes can change proportion (e.g., rectangle and
oval), others cannot (e.g., square and circle).
oval may be wider than tall, or taller than wide),
others cannot (e.g., square and circle).
</p>
<p>