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