GQTXCI(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– 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 in ERRIND; 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 to GSTXCI. 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 (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