GSFACI(3NCARG)
β¨ GSFACI β¨ (aka "Set fill area color index") π
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, this one lives in section 3NCARG and it's literally just here to make your filled shapes pretty π
πΈ NAME πΈ
GSFACI β Set fill area color index. That's it, that's the whole job: it sets the fill area color index. no cap. π
π¦ SYNOPSIS π¦
CALL GSFACI (COLI)
π C-BINDING SYNOPSIS π
for my C girlies π«Ά
#include <ncarg/gks.h>
void gset_fill_colr_ind(Gint fill_colr_ind);
β¨ DESCRIPTION β¨
COLIβ (Integer, Input) β a color index. that's the vibe. you hand it a number, it becomes the color of your fills. iconic. π
π USAGE π
okay so here's the tea β β every filled area you draw with calls to the GFA output primitive is gonna get drawn in the color tied to index COLI. and it stays that way until you call GSFACI again and assign a new index. so like, it's a "set it and it sticks" situation. main character energy, honestly. π
fr fr, for all GKS output primitives, color gets assigned using a color index. the color indices run from 0 to 255, where 0 is the background color index and 1 is the foreground color index. π¨
color values get associated with indices by calls to the GKS routine GSCR. and here's the lil plot twist π β if you use a color index that has no user-assigned color value set in a GSCR call, then a device-dependent color value gets assigned to that index. so it's giving "surprise, it's whatever your device feels like," iykyk π
π₯ ACCESS π₯
to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. load it bestie, it's not gonna load itself π
π SEE ALSO π
Online: gfa, gsfais, gsfasi, gscr, gqfais, gqfasi, areas, gset_fill_colr_ind
Hardcopy: 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 babes π«Ά this little icon dropped back in March 1993 under the UNIX flavor of the manual, filed as GSFACI(3NCARG) β go forth and fill areas in your assigned color, periodt. πβ¨
π¦ 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