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 intoerr_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 togset_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 Β©οΈ
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 π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms