1GQTXAL(3NCARG) NCAR GRAPHICS GQTXAL(3NCARG)
2
3
4
6 GQTXAL (Inquire text alignment) - retrieves the horizontal and vertical
7 text alignments.
8
10 CALL GQTXAL (ERRIND, TXALH, TXALV)
11
13 #include <ncarg/gks.h>
14
15 void ginq_text_align(Gint *err_ind, Gtext_align *text_align);
16
18 ERRIND (Integer, Output) - If the inquired values cannot be
19 returned correctly, a non-zero error indicator is returned
20 in ERRIND, otherwise a zero is returned. Consult "User's
21 Guide for NCAR GKS-0A Graphics" for a description of the
22 meaning of the error indicators.
23
24 TXALH (Real, Output) - Returns the current horizontal text align‐
25 ment:
26
27 0 Normal (default)
28
29 1 Left
30
31 2 Center
32
33 3 Right
34
35 TXALV (Real, Output) - Returns the current vertical text align‐
36 ment:
37
38 0 Normal (default)
39
40 1 Top
41
42 2 Cap
43
44 3 Half
45
46 4 Base
47
48 5 Bottom
49
51 To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
52
54 Online: gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschup, gschxp,
55 gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp,
56 plotchar, ngdots, ginq_text_align
57
58 Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
59 mentals, UNIX Version
60
62 Copyright (C) 1987-2007
63 University Corporation for Atmospheric Research
64
65 This documentation is free software; you can redistribute it and/or
66 modify it under the terms of the GNU General Public License as pub‐
67 lished by the Free Software Foundation; either version 2 of the
68 License, or (at your option) any later version.
69
70 This software is distributed in the hope that it will be useful, but
71 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
72 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
73 Public License for more details.
74
75 You should have received a copy of the GNU General Public License along
76 with this software; if not, write to the Free Software Foundation,
77 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
78
79
80
81UNIX March 1993 GQTXAL(3NCARG)