GSET_FILL_COLR_IND(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ 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 (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