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

NAME

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

SYNOPSIS

9       #include <ncarg/gks.h>
10
11       void gset_text_align(const Gtext_align *text_align);
12

DESCRIPTION

14       text_align.hor
15                   (Input)  Determines the horizontal alignment of the text to
16                   be drawn. Options are:
17
18                   GHOR_NORM
19                          Normal (default)
20
21                   GHOR_LEFT
22                          Left
23
24                   GHOR_CTR
25                          Center
26
27                   GHOR_RIGHT
28                          Right
29
30       text_align.vert
31                   (Input) Determines the vertical alignment of the text to be
32                   drawn. Options are:
33
34                   GVERT_NORM
35                          Normal (default)
36
37                   GVERT_TOP
38                          Top
39
40                   GVERT_CAP
41                          Cap
42
43                   GVERT_HALF
44                          Half
45
46                   GVERT_BASE
47                          Base
48
49                   GVERT_BOTTOM
50                          Bottom
51

USAGE

53       Text alignment is used to position the text extent rectangle.  The text
54       extent rectangle rotates about the point determined by  the  horizontal
55       and vertical text alignment settings (text_align.hor, text_align.vert).
56

ACCESS

58       To  use  the  GKS  C-binding  routines,  load the ncarg_gks and ncarg_c
59       libraries.
60

SEE ALSO

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