File: gradcomdsetstring.html

package info (click to toggle)
grads 2%3A2.0.2-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 20,936 kB
  • ctags: 3,976
  • sloc: ansic: 74,598; sh: 2,886; makefile: 141; lisp: 114
file content (34 lines) | stat: -rw-r--r-- 1,265 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->

<H2><B>set string</B></H2><P>
<code>set string <i>color &lt;justification &lt;thickness
&lt;rotation&gt;&gt;&gt;</i></code><p>
Sets <code>string</code> drawing attributes. <code><i>Color</i></code> is
as described above. <code><i>Justification</i></code> is the string
justification, or how the string is
plotted with respect to the x, y position given in the <code>draw
string</code> command. Refer to the following picture for the appropriate
codes: <p>
<br>
<pre>
           tl            tc              tr          tl - top left

            +-------------+--------------+           tc - center top

            |                            |           tr - right top

          l +             + c            + r              etc.

            |                            |

            +-------------+--------------+

           bl             bc             br
</pre>
The <code><i>rotation</i></code> option specifies the desired string
rotation in degrees. When rotated, the center of rotation is the
<code><i>justification</i></code> point. Rotation is counter-clockwise.
<p>
<H3>Usage Notes</H3><P>
<H3>Examples</H3><P>