GINQ_TEXT_COLR_IND(3NCARG)

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

✨ 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 into err_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 called gset_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 (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