GINQ_ASFS(3NCARG)

πŸ’– GINQ_ASFS πŸ’–

okay bestie, welcome to the NCAR GRAPHICS corner of the man pages πŸŽ€ this one is ginq_asfs, and the "asfs" is giving aspect source flags β€” like, it's the function that inquires (asks nicely) what your aspect source flags are set to. and those flags are literally the whole vibe check for whether your primitive attributes get picked from their own individual settings or from the "bundle tables" πŸ‘‘


✨ SYNOPSIS ✨

#include <ncarg/gks.h>

void ginq_asfs(Gint *err_ind, Gasfs *list_asf);

🌸 DESCRIPTION 🌸

  • err_ind β€” (Output) β€” if the value you're inquiring about can't be returned correctly, you get a non-zero error indicator dropped into err_ind. otherwise? zero, as it should be πŸ’…. if you need the lore on what the error indicators actually mean, go read the User's Guide for NCAR GKS-0A Graphics, no cap.
  • list_asf β€” (Output) β€” a whole structure of settings for the thirteen attributes. yes, thirteen. a full baker's dozen. let's meet them πŸ₯:
    • list_asfs.linetype β€” Linetype
    • list_asfs.linewidth β€” Linewidth scale factor
    • list_asfs.line_colr_ind β€” Polyline color index
    • list_asfs.marker_type β€” Marker type
    • list_asfs.marker_size β€” Marker size scale factor
    • list_asfs.marker_colr_ind β€” Polymarker color index
    • list_asfs.text_font_prec β€” Text font and precision
    • list_asfs.char_expan β€” Character expansion factor
    • list_asfs.char_space β€” Character spacing
    • list_asfs.text_colr_ind β€” Text color index
    • list_asfs.fill_int_style β€” Fill area interior style
    • list_asfs.fill_style_ind β€” Fill area style index
    • list_asfs.fill_colr_ind β€” Fill area color index

and every single value in list_asf is either GASF_BUNDLED (for "bundled", iykyk) or GASF_INDIV (for "individual", the solo era) ✨


πŸ¦‹ USAGE πŸ¦‹

so in NCAR Graphics, all attribute aspect source flags are defaulted to "individual" β€” meaning every value in list_asf is GASF_INDIV. and honestly? the advice is to keep them there if you want dependable results when you're using NCAR Graphics. do not touch. let them cook. πŸ™

some other GKS packages default these values to "bundled" though β€” not our fault, different household, different rules 😭. so that's exactly why ginq_asfs exists: call it to find out the values of all aspect source flags, no guessing, no assumptions, just facts πŸ’―


πŸ”₯ ACCESS πŸ”₯

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. load them. both. periodt πŸ’…


🌈 SEE ALSO 🌈

Online, bestie β€” go read these:

  • gset_asfs(3NCARG), gset_linetype(3NCARG), gset_linewidth(3NCARG), gset_line_colr_ind(3NCARG), gset_marker_type(3NCARG), gset_marker_size(3NCARG), gset_marker_colr_ind(3NCARG), gset_text_font_prec(3NCARG), gset_char_expan(3NCARG), gset_text_font_prec(3NCARG), gset_text_colr_ind(3NCARG), gset_fill_int_style(3NCARG), gset_fill_style_ind(3NCARG), gset_fill_colr_ind(3NCARG)
  • ginq_linetype(3NCARG), ginq_linewidth(3NCARG), ginq_line_colr_ind(3NCARG), ginq_marker_type(3NCARG), ginq_marker_size(3NCARG), ginq_marker_colr_ind(3NCARG), ginq_text_font_prec(3NCARG), ginq_char_expan(3NCARG), ginq_text_font_prec(3NCARG), ginq_text_colr_ind(3NCARG), ginq_fill_int_style(3NCARG), ginq_fill_style_ind(3NCARG), ginq_fill_colr_ind(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)

Hardcopy (yes, paper, the vintage experience πŸ“œ): User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version


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


and that's the whole page, babe 🫢 this one's from the UNIX manual, dated March 1993 β€” an absolute icon, honestly, still serving after all these years πŸ’–βœ¨πŸŽ€