1GSTXP(3NCARG)                    NCAR GRAPHICS                   GSTXP(3NCARG)
2
3
4

NAME

6       GSTXP (Set text path) - sets the text paths or directions in which text
7       is to be drawn.
8

SYNOPSIS

10       CALL GSTXP (TXP)
11

C-BINDING SYNOPSIS

13       #include <ncarg/gks.h>
14
15       void gset_text_path(Gtext_path text_path);
16

DESCRIPTION

18       TXP        (Integer, Input) - Gives the direction in which a  character
19                  string is to be drawn.  Options are:
20
21                  0  Draw  successive characters in the string such that char‐
22                     acter n+l appears to the right of character  n.  This  is
23                     text path "right" and is the default.
24
25                  1  Draw  character  n+1 to the left of character n.  This is
26                     text path "left".
27
28                  2  Draw character n+1 above character n.  This is text  path
29                     "up".
30
31                  3  Draw  character n+1 below character n.  This is text path
32                     "down".
33
34                  The right, left, up, and down directions are relative to the
35                  character  up  vector. The right text path direction is per‐
36                  pendicular to the up vector direction.  Thus, to draw a text
37                  string at a 45 degree angle the character up vector would be
38                  (-1,1), and the text path would be right .
39

ACCESS

41       To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
42

SEE ALSO

44       Online: gtx, gstxal,  gstxfp,  gschh,  gschsp,  gschup,  gschxp,  gscr,
45       gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar,
46       gset_text_path
47
48       Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR  Graphics  Funda‐
49       mentals, UNIX Version
50
52       Copyright (C) 1987-2007
53       University Corporation for Atmospheric Research
54
55       This  documentation  is  free  software; you can redistribute it and/or
56       modify it under the terms of the GNU General  Public  License  as  pub‐
57       lished  by  the  Free  Software  Foundation;  either  version  2 of the
58       License, or (at your option) any later version.
59
60       This software is distributed in the hope that it will  be  useful,  but
61       WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of MER‐
62       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General
63       Public License for more details.
64
65       You should have received a copy of the GNU General Public License along
66       with this software; if not, write  to  the  Free  Software  Foundation,
67       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
68
69
70
71UNIX                            14 January 1992                  GSTXP(3NCARG)
Impressum