GINQ_TEXT_COLR_IND(3NCARG)
π GINQ_TEXT_COLR_IND π β it's a 3NCARG joint from NCAR GRAPHICS, bestie
okay so you're out here in the NCAR Graphics manual and this one is literally just "hey, what color is my text rn?" β that's the whole vibe. it's giving look-it-up energy. no cap.
β¨ NAME β¨
ginq_text_colr_ind β retrieves the current text color index π¨π«Ά
π¦ SYNOPSIS π¦
#include <ncarg/gks.h>
void ginq_text_colr_ind(Gint *err_ind, Gint *text_colr_ind);
that's it. two pointers, both of them outputs, and you're done. iconic honestly. π
πΈ DESCRIPTION πΈ
err_ind(Output) β so like, if the inquired value cannot be returned correctly, you get a non-zero error indicator dropped intoerr_ind. if everything's chill? you get a zero. π if you need to know what the error indicators actually mean, go consult the "User's Guide for NCAR GKS-0A Graphics" β that's where the lore lives, iykyk.text_colr_ind(Output) β this bad boy hands you back the current text color index, either as it was set by default or as it was set by a call togset_text_colr_ind. so whatever color your text is living in right now? it goes here. β
π₯ ACCESS π₯
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. both of them. the way that you need both β don't try to skip one bestie, it will not slay. π
π 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)gset_text_colr_ind(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)gks(3NCARG)ncarg_gks_cbind(3NCARG)
like. the whole friend group. the entire group chat is here and they all ate. π§π
π 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.
β οΈ real talk: the use of this Software is governed by a License Agreement. not a suggestion, not a vibe β an actual agreement. read it bestie. π
and that's the whole page, periodt. this little gem comes to you from the UNIX corner of the manual, dated March 1993 (yes, it's been serving since before most of us were born π), and it lives under the name GINQ_TEXT_COLR_IND(3NCARG) in the NCAR GRAPHICS manual. go off, color-inquirer. πβ¨π
π¦ 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