GSTXCI (Set text color index) - sets the text color index.
Contents
Access
To use GKS routines, load the NCAR GKS-0A library ncarg_gks.
C-Binding Synopsis
#include <ncarg/gks.h>
void gset_text_colr_ind(Gint text_colr_ind);
Copyright
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
UNIX March 1993 GSTXCI(3NCARG)
Description
COLI (Integer, Input) - A color index.
Name
GSTXCI (Set text color index) - sets the text color index.
See Also
Online: gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschup, gschxp, gscr, gqtxp, gqtxal, gqtxfp, gqchh,
gqchsp, gqchup, gqchxp, plotchar, gset_text_colr_ind
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
Synopsis
CALL GSTXCI (COLI)
Usage
All text strings drawn with calls to the GTX output primitive will be drawn with the color associated
with index COLI until GSTXCI is called again and a new index is assigned.
For all GKS output primitives, color is assigned using a color index. The color indices run from 0 to
255, where 0 is the background color index and 1 is the foreground color index. Color values are
associated with indices by calls to the GKS routine GSCR. If a color index is used that has no user-
assigned color value set in a GSCR call, then a device-dependent color value will be assigned to that
index.
