1GSET_TEXT_COLR_IND(3NCARG) NCAR GRAPHICS GSET_TEXT_COLR_IND(3NCARG)
2
3
4
6 gset_text_colr_ind (Set text color index) - sets the text color index.
7
9 #include <ncarg/gks.h>
10
11 void gset_text_colr_ind(Gint text_colr_ind);
12
14 text_colr_ind
15 (Input) A color index.
16
18 All text strings drawn with calls to the gtext output primitive will be
19 drawn with the color associated with index text_colr_ind until
20 gset_text_colr_ind is called again and a new index is assigned.
21
22 For all GKS output primitives, color is assigned using a color index.
23 The color indices run from 0 to 255, where 0 is the background color
24 index and 1 is the foreground color index. Color values are associated
25 with indices by calls to the GKS routine gset_colr_rep. If a color
26 index is used that has no user-assigned color value set in a
27 gset_colr_rep call, then a device-dependent color value will be
28 assigned to that index.
29
31 To use the GKS C-binding routines, load the ncarg_gks and ncarg_c
32 libraries.
33
35 Online: gtext(3NCARG), gset_text_path(3NCARG), gset_text_align(3NCARG),
36 gset_text_font_prec(3NCARG), gset_char_ht(3NCARG),
37 gset_char_space(3NCARG), gset_char_up_vec(3NCARG),
38 gset_char_expan(3NCARG), gset_colr_rep(3NCARG), ginq_text_path(3NCARG),
39 ginq_text_align(3NCARG), ginq_text_font_prec(3NCARG),
40 ginq_char_ht(3NCARG), ginq_char_space(3NCARG),
41 ginq_char_up_vec(3NCARG), ginq_char_expan(3NCARG), plotchar(3NCARG),
42 ncarg_gks_cbind(3NCARG)
43
44 Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
45 mentals, UNIX Version
46
48 Copyright (C) 1987-2007
49 University Corporation for Atmospheric Research
50
51 This documentation is free software; you can redistribute it and/or
52 modify it under the terms of the GNU General Public License as pub‐
53 lished by the Free Software Foundation; either version 2 of the
54 License, or (at your option) any later version.
55
56 This software is distributed in the hope that it will be useful, but
57 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
58 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
59 Public License for more details.
60
61 You should have received a copy of the GNU General Public License along
62 with this software; if not, write to the Free Software Foundation,
63 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
64
65
66
67UNIX March 1993 GSET_TEXT_COLR_IND(3NCARG)