GSET_FILL_STYLE_IND(3NCARG)

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

πŸ’– GSET_FILL_STYLE_IND πŸ’– β€” the NCAR Graphics one (3NCARG)

okay bestie, pull up a chair, we're reading a manual page together and it's actually kinda iconic. this is GSET_FILL_STYLE_IND from the NCAR GRAPHICS manual, section 3NCARG, and it's all about making your fill areas look cute with hatch lines. yes we're doing graphics library lore today. πŸŽ€


✨ NAME ✨

gset_fill_style_ind (Set fill are style index) β€” sets the fill area style index.

not me pointing out that the official name literally says "fill are style index" 😭 we love a typo that's been living here rent-free since forever. leaving it exactly as-is, no cap. it sets the fill area style index, periodt.

🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void gset_fill_style_ind(Gint fill_style_ind);

that's it. one include, one function, one argument. minimal, clean, slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

fill_style_ind β€” this is your Input, bestie. it specifies workstation-dependent options for hatch or pattern fills. like, the workstation gets a say in how it looks, okay? it's giving "your mileage may vary by machine."

🚨 heads up: Pattern fill options are not supported in NCAR Graphics. so don't come for me asking about patterns. they're not here. they never were. rest in peace. πŸ’€

Hatch fill options though? we have SIX of them and they're all lines, all the time:

  1. Horizontal lines (default) β€” the og. the one you get if you don't say anything. main character energy. ⭐
  2. Vertical lines β€” rotate that vibe 90 degrees 🧚
  3. Lines of positive slope β€” going up and to the right, we love a climber πŸ“ˆ
  4. Lines of negative slope β€” down and to the right, still valid, still gorgeous
  5. Horizontal and vertical lines β€” a whole crosshatch moment, highkey a grid
  6. Lines of positive and negative slope β€” diagonal crosshatch, the other crosshatch, equally obsessed πŸ’œ

πŸ‘‘ ACCESS πŸ‘‘

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. that's the entry fee, bestie. pay it. 🫢


🌈 SEE ALSO 🌈

Online:

  • gfill_area(3NCARG)
  • gset_fill_int_style(3NCARG)
  • gset_colr_rep(3NCARG)
  • gset_fill_colr_ind(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

go read those too, iykyk. one of them probably answers the question you're actually about to ask me. 😌


Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.


so yeah. that's the whole page. go forth and hatch responsibly, bestie. πŸ“

this little love letter to fill styles came to you from the UNIX manual, dated March 1993, and honestly? it aged like fine wine. βœ¨πŸ’–

πŸ“¦ where this page comes from