GINQ_CHAR_HT(3NCARG)

πŸ’– GINQ_CHAR_HT πŸ’– β€” the NCAR GRAPHICS one, section 3NCARG

okay bestie, sit down, hydrate, and let me tell you about the little function that tells you how tall your letters are ✨


✨ NAME ✨

ginq_char_ht β€” she retrieves the current character height. that's it, that's the job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <ncarg/gks.h>

void ginq_char_ht(Gint *err_ind, Gdouble *char_ht);

like… two pointers, one include, no drama. we love a low-maintenance queen πŸ‘‘


🌸 DESCRIPTION 🌸

so basically you hand her two pointers and she fills them in. here's the tea on each one:

  • err_ind (Output) β€” this is the vibe check 🫢. if the value you asked for can't be returned correctly, she drops a non-zero error indicator in here. if everything's chill, you get a zero. and if you need the full lore on what the error indicators actually mean, go read the "User's Guide for NCAR GKS-0A Graphics" β€” that's where the answers live, not in my DMs.
  • char_ht (Output) β€” and THIS one πŸŽ€ contains the current character height, exactly as it was set by default or by gset_char_ht. so like, whatever height your text is currently serving, she reports it. no cap.

πŸ¦‹ ACCESS πŸ¦‹

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. both of them. not one. both. load them like you load your skincare routine πŸ§–β€β™€οΈ


🌈 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_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

it's giving ✨squad✨, honestly. every single one of them is invited to the group chat πŸ’œ


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.

okay so real talk β€” this is governed by a License Agreement. read it, respect it, don't be weird about it πŸ™ˆ

and that's the whole page, bestie!! written for the UNIX manual, dated March 1993, filed under GINQ_CHAR_HT(3NCARG) β€” iconic behavior from a function that literally just measures text height πŸŽ€βœ¨ go forth and inquire responsibly πŸ’–