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 intoerr_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β Linetypelist_asfs.linewidthβ Linewidth scale factorlist_asfs.line_colr_indβ Polyline color indexlist_asfs.marker_typeβ Marker typelist_asfs.marker_sizeβ Marker size scale factorlist_asfs.marker_colr_indβ Polymarker color indexlist_asfs.text_font_precβ Text font and precisionlist_asfs.char_expanβ Character expansion factorlist_asfs.char_spaceβ Character spacinglist_asfs.text_colr_indβ Text color indexlist_asfs.fill_int_styleβ Fill area interior stylelist_asfs.fill_style_indβ Fill area style indexlist_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 π
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 πβ¨π
π¦ 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