GINQ_CHAR_SPACE(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ 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 in err_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 to gset_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 (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