GSET_FILL_COLR_IND(3NCARG)
β¨ GSET_FILL_COLR_IND β¨
okay bestie, sit down, hydrate, because we're talking about gset_fill_colr_ind from the NCAR Graphics 3NCARG manual β literally the glow-up button for your fill areas π
π NAME π
gset_fill_colr_ind (Set fill area color index) β it sets the fill area color index. that's it. that's the whole job. and it ate. π
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void gset_fill_colr_ind(Gint fill_colr_ind);
look at her. one argument. zero drama. main character energy fr fr β¨
π DESCRIPTION π
fill_colr_indβ (Input) a color index. that's the vibe. you hand her a number, she hands you a color. π¨
π¦ USAGE π¦
so here's the tea: every single filled area you draw with calls to the gfill_area output primitive is gonna be drawn in the color tied to whatever index fill_colr_ind is holding β and it stays that way until you call gset_fill_colr_ind again and assign her a new index. she's loyal like that. π«Ά
for all GKS output primitives, color gets assigned using a color index. the indices run from 0 to 255, where:
- 0 is the background color index π
- 1 is the foreground color index βοΈ
color values get associated with indices by calling the GKS routine gset_colr_rep. and here's the little plot twist π β if you use a color index that has no user-assigned color value set in a gset_colr_rep call, then a device-dependent color value gets assigned to that index. not you guessing, not me guessing, the device deciding. periodt.
π ACCESS π
to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. both. don't skip one, bestie, she will not compile. π
β SEE ALSO β
Online:
gfill_area(3NCARG)gset_fill_int_style(3NCARG)gset_fill_style_ind(3NCARG)gset_colr_rep(3NCARG)ginq_fill_int_style(3NCARG)ginq_fill_style_ind(3NCARG)areas(3NCARG)gks(3NCARG)ncarg_gks_cbind(3NCARG)
Hardcopy:
- User's Guide for NCAR GKS-0A Graphics
- NCAR Graphics Fundamentals, UNIX Version
the reading list is giving syllabus. iykyk πβ¨
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
lowkey important, highkey legally binding β respect the license, bestie π«‘
and that's the whole page, babes π this was the NCAR GRAPHICS GSET_FILL_COLR_IND(3NCARG) entry from the UNIX manual, dated March 1993 β yes she's an elder but she's still iconic and still slaying. mwah ππβ¨
π¦ 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