1GSTXP(3NCARG) NCAR GRAPHICS GSTXP(3NCARG)
2
3
4
6 GSTXP (Set text path) - sets the text paths or directions in which text
7 is to be drawn.
8
10 CALL GSTXP (TXP)
11
13 #include <ncarg/gks.h>
14
15 void gset_text_path(Gtext_path text_path);
16
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
41 To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
42
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-2009
53 University Corporation for Atmospheric Research
54 The use of this Software is governed by a License Agreement.
55
56
57
58UNIX 14 January 1992 GSTXP(3NCARG)