gset_text_colr_ind Set text color index(3) sets the text color index.


#include <ncarg/gks.h>

void gset_text_colr_ind(Gint text_colr_ind);


(Input) A color index.


All text strings drawn with calls to the gtext output primitive will be drawn with the color associated with index text_colr_ind until gset_text_colr_ind 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 gset_colr_rep. If a color index is used that has no user-assigned color value set in a gset_colr_rep call, then a device-dependent color value will be assigned to that index.


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


Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.