GINQ_CHAR_SPACE(3NCARG)
β¨ GINQ_CHAR_SPACE β¨ (3NCARG)
okay bestie so this is a page from the NCAR GRAPHICS manual (that's the 3NCARG bit in the corner, iykyk) and honestly? it's giving "tiny function, big main character energy." π
π NAME π
ginq_char_space β aka Inquire character spacing β literally just goes and fetches the current value for character spacing. that's it. that's the whole job. she's a getter, she's booked and busy, and she ate. π
π¦ SYNOPSIS π¦
#include <ncarg/gks.h>
void ginq_char_space(Gint *err_ind, Gdouble *char_space);
yes bestie, you gotta include <ncarg/gks.h> first, no cap. π
πΈ DESCRIPTION πΈ
so the function takes two pointers, and both of them are outputs β you hand her empty boxes and she fills them in for you. iconic behavior tbh. π
err_ind(Output) β if the value you asked about can't be returned correctly, a non-zero error indicator comes back inerr_ind. otherwise you get a zero, which is the "we're so back" outcome. π if you're staring at a nonzero number like ποΈπποΈ, go consult the "User's Guide for NCAR GKS-0A Graphics" for a description of what the error indicators actually mean, because this page is not gonna spell it out for you.char_space(Output) β this is where the current value for character spacing lands. it's whatever the default is, or whatever got set by a call togset_char_space. so like, she's not inventing a number, she's reporting the vibe that's already there. β¨
π ACCESS π
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. both of them. no skipping. π«Ά
π 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)
Hardcopy:
- User's Guide for NCAR GKS-0A Graphics
- NCAR Graphics Fundamentals, UNIX Version
the whole friend group is here, fr fr. π§
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
bestie, do not sleep on that license agreement. it's giving legally binding. read it. π
and that's the whole page!! this version dropped on UNIX, back in March 1993, and it's still out here slaying as GINQ_CHAR_SPACE(3NCARG). periodt. π
β¨π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms