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-2009
61       University Corporation for Atmospheric Research
62       The use of this Software is governed by a License Agreement.
63
64
65
66UNIX                              March 1993            GSET_TEXT_PATH(3NCARG)
Impressum