1GSET_TEXT_ALIGN(3NCARG) NCAR GRAPHICS GSET_TEXT_ALIGN(3NCARG)
2
3
4
6 gset_text_align (Set text alignment) - sets the text alignment.
7
9 #include <ncarg/gks.h>
10
11 void gset_text_align(const Gtext_align *text_align);
12
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
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
58 To use the GKS C-binding routines, load the ncarg_gks and ncarg_c
59 libraries.
60
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-2009
77 University Corporation for Atmospheric Research
78 The use of this Software is governed by a License Agreement.
79
80
81
82UNIX March 1993 GSET_TEXT_ALIGN(3NCARG)