GINQ_TEXT_FONT_PREC(3NCARG)

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

πŸ’– GINQ_TEXT_FONT_PREC πŸ’–

okay bestie, so this one lives in the NCAR GRAPHICS manual (section 3NCARG, we love a graphics library moment), and it's literally called ginq_text_font_prec β€” aka Inquire text font and precision. she's a getter. she tells you what your text font and precision are set to right now. no cap. πŸŽ€


✨ NAME ✨

ginq_text_font_prec (Inquire text font and precision) β€” retrieves the current setting of the text font and precision values. that's it, that's the whole job. she's nosy in the best way. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void ginq_text_font_prec(Gint *err_ind, Gtext_font_prec
*text_font_prec);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea on the arguments, pay attention bestie:

  • err_ind β€” (Output) if the inquired values cannot be returned correctly, a non-zero error indicator gets dropped into err_ind, otherwise you get a zero. that's your little status check 🫢. Consult "User's Guide for NCAR GKS-0A Graphics" for a description of the meaning of the error indicators β€” she does not elaborate, that's a different girl's job.
  • text_font_prec.font β€” (Output) gives the font number as set by default or by a call to gset_text_font_prec. font number one is a simple default ASCII font (the humble icon she is πŸ’…). and listen β€” values for font between -2 and -20 (inclusive) are Hershey fonts. yes, like the chocolate. iconic. 🍫✨
  • text_font_prec.prec β€” (Output) gives the text precision as set by default or by a call to gset_text_font_prec. possible values include:
    • GPREC_STRING β€” String precision (good)
    • GPREC_CHAR β€” Character precision (better)
    • GPREC_STROK β€” Stroke precision (best)

it's giving a tier list. good, better, best. the glow-up is real. 😭


πŸ”₯ ACCESS πŸ”₯

to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. that's the entry fee bestie, no skipping it. πŸ’€


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

the whole friend group honestly. go read them all, iykyk. πŸ“šπŸ’œ


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


and that's the page bestie!! slay πŸ’– this one came from the UNIX manual, dated March 1993, filed under GINQ_TEXT_FONT_PREC(3NCARG) β€” she's vintage, she's legendary, she ate and left no crumbs. periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from