GSFACI(3NCARG)
π GSFACI π β like, the fill area color index setter, bestie
okay so this is a page from the NCAR GRAPHICS manual, section 3NCARG, and it's about GSFACI β which, full name, is Set fill area color index. π¨β¨
β¨ NAME β¨
GSFACI (Set fill area color index) β sets the fill area color index. that's it. that's the whole job. she sets the index. π
πΈ SYNOPSIS πΈ
CALL GSFACI (COLI)
π¦ C-BINDING SYNOPSIS π¦
for my C girlies, it's giving:
#include <ncarg/gks.h>
void gset_fill_colr_ind(Gint fill_colr_ind);
π DESCRIPTION π
COLI(Integer, Input) β a color index. that's the one (1) thing you hand her. an integer. a little number that means a color. π
π USAGE π
okay so here's the tea, and it's actually important: every single filled area drawn 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 with a new index. so likeβ¦ she remembers. she's committed. she's your main character until you tell her otherwise. π₯
and for all GKS output primitives, color gets assigned through a color index. the indices run from 0 to 255, bestie. and listen:
0is the background color index π1is the foreground color index βοΈ
color values get hooked up to those indices by calling the GKS routine GSCR. so GSCR is the matchmaker, GSFACI is theβ¦ also a matchmaker, kind of. iykyk. π
and here's the little 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. not you picking. the device picking. it's giving chaos, honestly. π
π«Ά ACCESS π«Ά
to use GKS routines, load the NCAR GKS-0A library ncarg_gks. load her up, she's ready. β
π 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.
okay that's the whole page, no cap. this one's from the UNIX manual, dated March 1993 β yes she's vintage, yes she still slays, we love a timeless icon. ππΈπ¦ periodt.
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms