GINQ_CHAR_SPACE(3NCARG)
π GINQ_CHAR_SPACE(3NCARG) π
okay bestie, so this is a page from the NCAR GRAPHICS manual (the 3NCARG corner of the library, iykyk) and it's about one little function: ginq_char_space. It's giving "quiet overachiever" β it doesn't do anything, it just asks things. Specifically it retrieves the current value for character spacing. π
β¨ SYNOPSIS β¨
#include <ncarg/gks.h>
void ginq_char_space(Gint *err_ind, Gdouble *char_space);
two pointers in, vibes out. she's not returning anything, she's writing into your variables. periodt. π
πΈ DESCRIPTION πΈ
err_ind(Output) β bestie this is the did it work flag. If the inquired value cannot be returned correctly, a non-zero error indicator gets dropped in here. Otherwise you get a zero, and you can relax. π«Ά If you're like "what do these error numbers even mean", go consult the "User's Guide for NCAR GKS-0A Graphics" β it has a whole description of the meaning of the error indicators. not me sending you to another doc but that's literally where the answers live.char_space(Output) β and here's the actual tea β: this contains the current value for character spacing. Where did that value come from? Either it's the default, or somebody set it with a call togset_char_space. That's it, that's the whole vibe. π
π ACCESS π
To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. no cap, if you don't link those two you're gonna have a bad time. π
π 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_up_vec(3NCARG), ginq_char_expan(3NCARG), plotchar(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
like genuinely that's a whole friend group of gset_* and ginq_* functions β this one is literally the sibling of ginq_char_expan and ginq_char_ht. go say hi. β¨
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
Β©οΈ COPYRIGHT Β©οΈ
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
real talk: that License Agreement is not optional, she's legally binding, so read it before you go wild. π
okay that's the whole page, you ate it up π the source is the UNIX version, dated March 1993 β yes she's an icon, yes she's vintage, and she still slays. bye bestie, go space some characters. π¦πΈ
π¦ 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