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 bygset_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 π
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 π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms