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 into err_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 to gset_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 (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. πŸ’–βœ¨πŸŽ€