aboutsummaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorMikko Syrjä <mikko@syrja.org>2019-08-20 22:04:50 +0300
committerMikko Syrjä <mikko@syrja.org>2019-08-20 22:04:50 +0300
commit40b74ae2545969c993f8ad7c92647cec663862b0 (patch)
tree9daf6ccff4e3608cfb09caf6164775462320d763 /help
parentece6dc5e58de32eb8409f1065356713dc947958c (diff)
downloadsymedit-40b74ae2545969c993f8ad7c92647cec663862b0.tar.gz
symedit-40b74ae2545969c993f8ad7c92647cec663862b0.zip
Added text size unit handling.
Diffstat (limited to 'help')
-rw-r--r--help/eng/format.rst30
-rw-r--r--help/eng/tools.rst2
-rw-r--r--help/fin/format.rst30
-rw-r--r--help/fin/tools.rst2
4 files changed, 46 insertions, 18 deletions
diff --git a/help/eng/format.rst b/help/eng/format.rst
index 8e43a66..087e538 100644
--- a/help/eng/format.rst
+++ b/help/eng/format.rst
@@ -42,15 +42,15 @@ Draws rectangle using previous position and parameter coordinates as corners.
Parameters: X,Y (``B40,40``)
-**C** - Set color index
-^^^^^^^^^^^^^^^^^^^^^^^
+**C** - Color index
+^^^^^^^^^^^^^^^^^^^
Sets parameter to current drawing color index. Affects until changed.
Parameters: I (``C3``)
-**F** - Set area fill type
-^^^^^^^^^^^^^^^^^^^^^^^^^^
+**F** - Area fill type
+^^^^^^^^^^^^^^^^^^^^^^
Sets area fill type index to one of the following values:
@@ -62,16 +62,30 @@ Fill type works with rectangle and circle commands. Border is drawn only when th
Parameters: I (``F2``)
-**G** - Set text angle
-^^^^^^^^^^^^^^^^^^^^^^
+**G** - 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
-^^^^^^^^^^^^^^^^^^^^^^^^^^
+**J** - Text alignment
+^^^^^^^^^^^^^^^^^^^^^^
Sets parameter to text alignment (1-12). Default is 9 (bottom left corner). Affects until changed.
Parameters: I (``J9``)
+
+**S** - Text absolute size
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Sets parameter to text size as millimeters (positive) or meters (negative). Default zero uses application settings. Affects until changed.
+
+Parameters: S (``S2.5``)
+
+**P** - Text relative size
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Sets parameter to text size as a percentage of symbol size. Default zero uses application settings. Affects until changed.
+
+Parameters: P (``P50``)
diff --git a/help/eng/tools.rst b/help/eng/tools.rst
index bd3d00e..01f07ba 100644
--- a/help/eng/tools.rst
+++ b/help/eng/tools.rst
@@ -140,7 +140,7 @@ Text alignment value 1-12.
Text size
^^^^^^^^^
-Text size.
+Text size and unit.
Text
^^^^
diff --git a/help/fin/format.rst b/help/fin/format.rst
index 37b6f64..91b033c 100644
--- a/help/fin/format.rst
+++ b/help/fin/format.rst
@@ -42,15 +42,15 @@ Piirtää suorakaiteen käyttäen edellistä sijantia ja parametrin koordinaatte
Parametrit: X,Y (``B40,40``)
-**C** - Aseta väri-indeksi
-^^^^^^^^^^^^^^^^^^^^^^^^^^
+**C** - Väri-indeksi
+^^^^^^^^^^^^^^^^^^^^
Asettaa parametrin piirron väri-ideksiksi. Voimassa kunnes muutetaan.
Parametrit: I (``C3``)
-**F** - Aseta alueen täyttö
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+**F** - Alueen täyttö
+^^^^^^^^^^^^^^^^^^^^^
Asettaa alueen täytöksi jonkin seuraavan tyypin:
@@ -62,16 +62,30 @@ Alueen täyttö toimii suorakaiteen ja ympyrän kanssa. Reunaviiva piirretään
Parametrit: I (``F2``)
-**G** - Aseta tekstin kulma
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+**G** - Tekstin kulma
+^^^^^^^^^^^^^^^^^^^^^
Asettaa parametrin tekstin kulmaksi gooneina. Vaakasuoran tekstin kulma on nolla ja kiertosuunta on vastapäivään. Voimassa kunnes muutetaan.
Parametrit: I (``G50``)
-**J** - Aseta tekstin asemointi
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+**J** - Tekstin asemointi
+^^^^^^^^^^^^^^^^^^^^^^^^^
Asettaa parametrin tekstin asemoinniksi (1-12). Oletus on 9 (vasen alakulma). Voimassa kunnes muutetaan.
Parametrit: I (``J9``)
+
+**S** - Tekstin absoluuttinen koko
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Asettaa parametrin tekstin kooksi millimetreinä (positiivinen) tai metreinä (negatiivinen). Oletus nolla käyttää sovelluksen asetuksia. Voimassa kunnes muutetaan.
+
+Parametrit: S (``S2.5``)
+
+**P** - Tekstin suhteellinen koko
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Asettaa parametrin tekstin kooksi prosentteina symbolin koosta. Oletus nolla käyttää sovelluksen asetuksia. Voimassa kunnes muutetaan.
+
+Parametrit: P (``P50``)
diff --git a/help/fin/tools.rst b/help/fin/tools.rst
index 22e530b..cf151d4 100644
--- a/help/fin/tools.rst
+++ b/help/fin/tools.rst
@@ -140,7 +140,7 @@ Tekstin asemointi 1-12.
Tekstin koko
^^^^^^^^^^^^
-Tekstin koko.
+Tekstin koko ja yksikkö.
Teksti
^^^^^^