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

NAME

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

SYNOPSIS

10       #include <ncarg/gks.h>
11
12       void gset_text_path(Gtext_path text_path);
13

DESCRIPTION

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

ACCESS

42       To use the GKS C-binding  routines,  load  the  ncarg_gks  and  ncarg_c
43       libraries.
44

SEE ALSO

46       Online:             gtext(3NCARG),             gset_text_align(3NCARG),
47       gset_text_font_prec(3NCARG),                      gset_char_ht(3NCARG),
48       gset_char_space(3NCARG),                      gset_char_up_vec(3NCARG),
49       gset_char_expan(3NCARG),                         gset_colr_rep(3NCARG),
50       gset_text_colr_ind(3NCARG),                     ginq_text_path(3NCARG),
51       ginq_text_align(3NCARG),                   ginq_text_font_prec(3NCARG),
52       ginq_char_ht(3NCARG),                          ginq_char_space(3NCARG),
53       ginq_char_up_vec(3NCARG),  ginq_char_expan(3NCARG),   plotchar(3NCARG),
54       gks(3NCARG) ncarg_gks_cbind(3NCARG)
55
56       Hardcopy:  User's  Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
57       mentals, UNIX Version
58
60       Copyright (C) 1987-2007
61       University Corporation for Atmospheric Research
62
63       This documentation is free software; you  can  redistribute  it  and/or
64       modify  it  under  the  terms of the GNU General Public License as pub‐
65       lished by the  Free  Software  Foundation;  either  version  2  of  the
66       License, or (at your option) any later version.
67
68       This  software  is  distributed in the hope that it will be useful, but
69       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
70       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
71       Public License for more details.
72
73       You should have received a copy of the GNU General Public License along
74       with  this  software;  if  not,  write to the Free Software Foundation,
75       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
76
77
78
79UNIX                              March 1993            GSET_TEXT_PATH(3NCARG)
Impressum