aboutsummaryrefslogtreecommitdiff
path: root/help/eng
diff options
context:
space:
mode:
authorMikko Syrjä <mikko@syrja.org>2019-07-25 00:38:16 +0300
committerMikko Syrjä <mikko@syrja.org>2019-07-25 00:38:16 +0300
commit7202148aeeaac7e5ed0dce3bfc501b5200314757 (patch)
treec6434bb6a4e97668c21ee5e41ffee4946ddcbfc6 /help/eng
parent6cbf0f778c804e643592d306e3e2c93a3a82904e (diff)
downloadsymedit-7202148aeeaac7e5ed0dce3bfc501b5200314757.tar.gz
symedit-7202148aeeaac7e5ed0dce3bfc501b5200314757.zip
Implemented rotated text editing.
Diffstat (limited to 'help/eng')
-rw-r--r--help/eng/format.rst25
-rw-r--r--help/eng/tools.rst15
-rw-r--r--help/eng/usage.rst9
3 files changed, 37 insertions, 12 deletions
diff --git a/help/eng/format.rst b/help/eng/format.rst
index 86dfd68..8e43a66 100644
--- a/help/eng/format.rst
+++ b/help/eng/format.rst
@@ -3,12 +3,16 @@
Symbol format
=============
-xxx
+Format contains drawing commands separated by semicolons. Symbol coordinate area is 100x100 and origin is at center. Coordinate X component is horizontal from left to right and Y component is vertical from bottom to top. Angle zero direction points to right and rotation is counter-clockwise.
+
+For example, application crosshair logo can be defined like this:
+
+``R50;U-50,0;D50,0;U0,50;D0,-50``
Commands
--------
-Commands are separated by semicolons. Coordinate X is horizontal component from left to right and Y is vertical component from bottom to top.
+Following drawing commads are available.
**U** - Change position
^^^^^^^^^^^^^^^^^^^^^^^
@@ -41,7 +45,7 @@ Parameters: X,Y (``B40,40``)
**C** - Set color index
^^^^^^^^^^^^^^^^^^^^^^^
-Sets parameter to current drawing color index.
+Sets parameter to current drawing color index. Affects until changed.
Parameters: I (``C3``)
@@ -54,7 +58,20 @@ Sets area fill type index to one of the following values:
1. Area fill using background color
2. Area fill using current color
-Fill type works with rectangle and circle commands. Border is drawn only when the fill type is zero.
+Fill type works with rectangle and circle commands. Border is drawn only when the fill type is zero. Affects until changed.
Parameters: I (``F2``)
+**G** - Set text angle
+^^^^^^^^^^^^^^^^^^^^^^
+
+Sets parameter to text angle as gons. Horizontal text angle is zero and rotation is counter-clockwise. Affects until changed.
+
+Parameters: I (``G50``)
+
+**J** - Set text alignment
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Sets parameter to text alignment (1-12). Default is 9 (bottom left corner). Affects until changed.
+
+Parameters: I (``J9``)
diff --git a/help/eng/tools.rst b/help/eng/tools.rst
index 8274414..64ec2c3 100644
--- a/help/eng/tools.rst
+++ b/help/eng/tools.rst
@@ -78,13 +78,20 @@ Draws circle with center and radius.
.. xxx Draws quarter circle with center and radius.
-.. |text image| image:: ../../image/text.png
+.. |text horizontal image| image:: ../../image/text_horizontal.png
+ :scale: 50 %
+.. |text rotated image| image:: ../../image/text_rotated.png
:scale: 50 %
-|text image| Text
-^^^^^^^^^^^^^^^^^
+|text horizontal image| Horizontal text
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Draws horizontal text to given position.
+
+|text rotated image| Rotated text
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Draws text to given position.
+Draws text to given position using other point as direction.
Settings
--------
diff --git a/help/eng/usage.rst b/help/eng/usage.rst
index 196394f..92e7073 100644
--- a/help/eng/usage.rst
+++ b/help/eng/usage.rst
@@ -1,7 +1,7 @@
Application usage
=================
-xxx
+Application can be used directly for editing single symbol defintion files or it can be called from other programs and controlled by command line parameters.
Command line
------------
@@ -31,12 +31,12 @@ Displays command line help.
file
^^^^
-Symbol file name. Symbol file is simple text file containing symbol definition.
+Symbol file name. Symbol file is simple text file containing single symbol definition. See :ref:`symbol-format-label`.
User interface
--------------
-xxx
+User interface is traditional desktop interface. All tools are available as menu commands and important ones also as toolbar buttons.
Menu
^^^^
@@ -54,7 +54,8 @@ See :doc:`tools`.
Editor
^^^^^^
-xxx
+Editing works by selecting first drawing tool from the menu or toolbar. Pressing the mouse button starts new element adding and releasing the button saves it. Already created elements cannot be modified. They must first be deleted and then redrawed.
+
Statusbar
^^^^^^^^^