logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Access

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

Description

       text_colr_ind
                   (Input) A color index.

Name

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

See Also

       Online:  gtext(3NCARG),gset_text_path(3NCARG),gset_text_align(3NCARG),gset_text_font_prec(3NCARG),gset_char_ht(3NCARG),gset_char_space(3NCARG),gset_char_up_vec(3NCARG),gset_char_expan(3NCARG),gset_colr_rep(3NCARG),ginq_text_path(3NCARG),ginq_text_align(3NCARG),ginq_text_font_prec(3NCARG),ginq_char_ht(3NCARG),ginq_char_space(3NCARG),ginq_char_up_vec(3NCARG),ginq_char_expan(3NCARG),plotchar(3NCARG),ncarg_gks_cbind(3NCARG)

       Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Synopsis

       #include <ncarg/gks.h>

       void gset_text_colr_ind(Gint text_colr_ind);

Usage

       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.

See Also