GINQ_LINE_COLR_ind(3NCARG)

✨ GINQ_LINE_COLR_IND ✨

okay bestie, welcome to the NCAR GRAPHICS corner of the manual πŸ’… this one's a lil baby function, super short, but it's important, so let's get into it


πŸ’– NAME πŸ’–

ginq_line_colr_ind β€” gets the polyline color index 🎨

like, it inquires. it asks the question. it finds out what color index your polylines are rocking rn. it's giving nosy in the best way 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <ncarg/gks.h>

void ginq_line_colr_ind(Gint *err_ind, Gint *line_colr_ind);

look at that. two pointers. very demure, very mindful ✨


🌸 DESCRIPTION 🌸

okay so here's the tea on the arguments:

  • err_ind (Output) β€” if the inquired value can't be returned correctly, you get a non-zero error indicator dropped into err_ind. otherwise? zero. that's it, that's the vibe. for the full lore on what each error indicator actually means, go consult the User's Guide for NCAR GKS-0A Graphics πŸ“– (yes, that's a real book, no cap)
  • line_colr_ind (Output) β€” returns the polyline color index πŸ’… as set by default, or by a call to gset_line_colr_ind. so like, whatever you set it to (or whatever it was chillin' at by default), this is where it comes back out ✨
ngl the whole point of this function is just "hey what's my color index" and honestly? iconic. simple. effective. periodt.

πŸ”‘ ACCESS πŸ”‘

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. no libraries, no function, no color index, no slay 🫢


πŸ‘€ SEE ALSO πŸ‘€

Online: gpolyline(3NCARG), gset_linetype(3NCARG), gset_linewidth(3NCARG), gset_colr_rep(3NCARG), gset_line_colr_ind(3NCARG), ginq_linetype(3NCARG), ginq_linewidth(3NCARG), ginq_line_colr_ind(3NCARG), dashline(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)

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


Copyright (C) 1987-2009 University Corporation for Atmospheric Research

the use of this Software is governed by a License Agreement. fr fr, read it πŸ’œ


and that's the whole page bestie!! this came from the UNIX manual, March 1993 edition, and the manual name up top is NCAR GRAPHICS β€” we been knew πŸ’– go get that color index, you absolute main character πŸ‘‘