GSET_FILL_INT_STYLE(3NCARG)

πŸ’– GSET_FILL_INT_STYLE β€” bestie edition πŸ’–

okay so this is a page from the NCAR GRAPHICS manual (yes, the whole manual, we're just vibing with one page of it), and it's all about gset_fill_int_style, aka the girl whose entire job is picking what goes inside your polygons. she's the fill-style bestie. she sets the fill style for polygons drawn with gfill_area. no cap. πŸŽ€


✨ NAME ✨

gset_fill_int_style (Set fill area interior style) β€” sets the fill style of polygons drawn with gfill_area. πŸ’…


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void gset_fill_int_style(Gfill_int_style fill_int_style);

πŸ¦‹ DESCRIPTION πŸ¦‹

  • fill_int_style β€” (Input) gives the style of fill to be used in subsequent calls to the gfill_area output primitive. the options are, and I'm listing every single one because we don't gatekeep:
    • GSTYLE_HOLLOW β€” hollow fill (the default). literally just an outline, she's giving ✨minimalist✨
    • GSTYLE_SOLID β€” solid fill. fully filled in, no gaps, ate. πŸ”₯
    • GSTYLE_PAT β€” pattern fill (not implemented in NCAR GKS). like, she exists in the docs but she does NOT show up to the function. πŸ’€
    • GSTYLE_HATCH β€” hatch fill. lines, lines, lines. 🌈

πŸ‘‘ USAGE πŸ‘‘

so if you're going with fill style "Hatch", you're gonna wanna use gset_fill_style_ind to specify which type of hatch pattern you want β€” horizontal lines, vertical lines, etc. that's her whole thing, let her cook. 🫢

note: if you call gfill_area and generate an output graphic and you're looking at it like "why is this just a closed curve with no fill" 😭 β€” you probably let the fill choice default to hollow fill (aka no fill). that's not a bug bestie that's the default. check yourself before you wreck yourself. πŸ™ˆ

⭐ ACCESS ⭐

to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. that's it. that's the whole access situation. πŸ”‘


πŸ’œ SEE ALSO πŸ’œ

Online:

  • gfill_area(3NCARG)
  • gset_fill_style_ind(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

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, you're officially educated πŸ’… this one came off the UNIX shelf, dated March 1993 (vintage, iconic, timeless honestly πŸ•°οΈβœ¨), and it's the GSET_FILL_INT_STYLE(3NCARG) page from the NCAR GRAPHICS collection. go fill some polygons, bestie. mwah. πŸ’–πŸ¦‹πŸŒΈ