GQTXCI(3NCARG)
π GQTXCI β Inquire text color index π
okay bestie so this is a page from the NCAR GRAPHICS manual, section 3NCARG, and it's literally just one little function whose whole job is to tell you what color your text is right now. that's it. that's the function. it's giving "lowkey useful, highkey simple" β¨
πΈ NAME πΈ
GQTXCI (Inquire text color index) β she retrieves the current text color index. periodt. π
π¦ SYNOPSIS π¦
CALL GQTXCI (ERRIND, COLI)
β¨ C-BINDING SYNOPSIS β¨
for my C girls out there π«Ά
#include <ncarg/gks.h>
void ginq_text_colr_ind(Gint *err_ind, Gint *text_colr_ind);
π DESCRIPTION π
two outputs, both integers, both girlbosses:
ERRINDβ (Integer, Output). if the inquired value can't be returned correctly, a non-zero error indicator comes back inERRIND; otherwise you get a zero. and like, if you're sitting there like "okay but what do the error indicators mean" β go consult the User's Guide for NCAR GKS-0A Graphics, she has the full lore. πCOLIβ (Integer, Output). returns the current text color index, whether it got set by default or by a call toGSTXCI. that's the whole vibe check right there. π
π₯ ACCESS π₯
to use the GKS routines, load the NCAR GKS-0A library ncarg_gks. no cap, that's the whole step. β
π SEE ALSO π
Online: gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschup, gschxp, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, ginq_text_colr_ind
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
like a whole friend group honestly. this function is not the main character, she's the supportive bestie who tells you what color everyone's wearing. π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay that's the page!! this dropped on UNIX in March 1993 (iconic era honestly) as part of the NCAR GRAPHICS collection, and yes the source/version tag says exactly that. mwah, love u, go inquire some text colors responsibly π§π
π¦ 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