GINQ_TEXT_COLR_IND(3NCARG)
β¨ GINQ_TEXT_COLR_IND β¨
okay bestie, listen up β this is a page from the NCAR GRAPHICS manual, section 3NCARG, and it's about a lil function called ginq_text_colr_ind. Yes the name is a whole mouthful, we're gonna get through it together. π«Ά
π NAME π
ginq_text_colr_ind β also known as Inquire text color index β literally just retrieves the current text color index. That's the whole job. She's a getter, she's lowkey minding her own business, and she ate. π
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void ginq_text_colr_ind(Gint *err_ind, Gint *text_colr_ind);
Look at her. Two pointers. No return value. Iconic behavior. β¨
π¦ DESCRIPTION π¦
Okay so the function takes two arguments, and BOTH of them are outputs. Not inputs. Outputs. She's not asking you for anything, she's giving. π
err_indβ (Output) β this is where the drama lives. If the value you asked for can't be returned correctly, you get a non-zero error indicator dropped right intoerr_ind. If everything's chill and fine? You get a zero. That's it, that's the vibe check. π And for the actual meaning of each error indicator, go consult the "User's Guide for NCAR GKS-0A Graphics" β no cap, that's where the lore is.text_colr_indβ (Output) β and here's the actual tea β: this returns the current text color index, whether it got set by default or because somebody calledgset_text_colr_ind. Either way, this is where you find out what color your text is serving. π
π ACCESS π
To use the GKS C-binding routines (that's these right here, bestie), you need to load up the ncarg_gks and ncarg_c libraries. Both of them. Don't skip one, it's giving missing symbol energy and nobody wants that. π
β 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)
π 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, respect the license, it's the least you can do for the people who gave us color text in the first place π
and that's the whole page, bestie β you're officially fluent in ginq_text_colr_ind β¨π¦πΈ
signing off from the UNIX manual, March 1993 edition, where this lil baddie has been living rent-free since before we were born π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms