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

NAME

6       GSTXAL (Set text alignment) - sets the text alignment.
7

SYNOPSIS

9       CALL GSTXAL (TXALH, TXALV)
10

C-BINDING SYNOPSIS

12       #include <ncarg/gks.h>
13
14       void gset_text_align(const Gtext_align *text_align);
15

DESCRIPTION

17       TXALH       (Integer,  Input)  - Determines the horizontal alignment of
18                   the text to be drawn. Options are:
19
20                   0      Normal (default)
21
22                   1      Left
23
24                   2      Center
25
26                   3      Right
27
28       TXALV       (Integer, Input) - Determines the vertical alignment of the
29                   text to be drawn. Options are:
30
31                   0      Normal (default)
32
33                   1      Top
34
35                   2      Cap
36
37                   3      Half
38
39                   4      Base
40
41                   5      Bottom
42

USAGE

44       Text alignment is used to position the text extent rectangle.  The text
45       extent rectangle rotates about the point determined by  the  horizontal
46       and vertical text alignment settings (TXALH, TXALV).
47

ACCESS

49       To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
50

SEE ALSO

52       Online:  gtx,  gstxp,  gstxfp,  gschh,  gschsp,  gschup,  gschxp, gscr,
53       gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar,
54       gset_text_align
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                    GSTXAL(3NCARG)
Impressum