GQLWSC(3NCARG)

πŸ’– GQLWSC πŸ’– β€” the NCAR Graphics girlies' guide

okay bestie, welcome to GQLWSC from the NCAR GRAPHICS manual (section 3NCARG, iykyk). Her full government name is Inquire linewidth scale factor, and she does exactly one thing, but she does it flawlessly: she retrieves the current setting of the linewidth scale factor. that's it. that's the girl. πŸŽ€


✨ SYNOPSIS ✨

CALL GQLWSC (ERRIND, LWIDTH)

two arguments, no drama. she just tells you what the linewidth scale factor is currently set to. periodt. πŸ’…


πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

for the C girlies (we see you, we love you):

#include <ncarg/gks.h>

void ginq_linewidth(Gint *err_ind, Gdouble *linewidth);

🌸 DESCRIPTION 🌸

here's the tea on the two arguments, okay? both of them are Output, meaning you hand her the variables and she fills them in. not me being obsessed with an out-parameter. 😭

  • ERRIND β€” (Integer, Output) β€” if the inquired value cannot be returned correctly, you get a non-zero error indicator back in ERRIND. if everything's slay, you get a zero. and bestie, if you wanna know what all the error indicators actually mean, go consult the "User's Guide for NCAR GKS-0A Graphics" β€” that's where the lore lives. πŸ“–
  • LWIDTH β€” (Real, Output) β€” she returns the current value of the linewidth scale factor, as set either by default or by a call to GSLWSC. so if you called GSLWSC earlier and forgot what you set it to, this is your girl. she remembers everything. πŸ‘‘

πŸ”‘ ACCESS πŸ”‘

to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. load it. she can't show up to the function call if you didn't invite her. πŸ’Œ


πŸ‘€ SEE ALSO πŸ‘€

Online:

  • gpl
  • gsln
  • gslwsc
  • gscr
  • gsplci
  • gqln
  • gqplci
  • dashline
  • ginq_linewidth

Hardcopy:

  • User's Guide for NCAR GKS-0A Graphics
  • NCAR Graphics Fundamentals, UNIX Version

like, go read your sisters. the whole GKS family ate. πŸ”₯


Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.

real talk bestie: that license agreement is not a suggestion, it's the vibe check you must pass. read it. 🫢

mwah πŸ’‹ that's the whole page, and honestly? iconic. no notes. this was the UNIX version, dated March 1993, from the NCAR GRAPHICS manual page for GQLWSC(3NCARG) β€” go forth and inquire those linewidths, queen. πŸ‘‘βœ¨