GSFAIS(3NCARG)

πŸ’… GSFAIS (Set fill area interior style)

okay bestie, welcome to GSFAIS from the NCAR Graphics squad (that's the 3NCARG manual, iykyk). This lil routine sets the fill style of polygons drawn with GFA. That's it. That's the whole job. But the way it does it? iconic. πŸŽ€


✨ SYNOPSIS ✨

CALL GSFAIS (INTS)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/gks.h>

void gset_fill_int_style(Gfill_int_style fill_int_style);

🌸 DESCRIPTION 🌸

  • INTS β€” (Integer, Input) β€” this is the main character fr. It tells the routine which fill style to use in all the subsequent calls to the GFA output primitive. The options are:
    • 0 β€” Hollow fill (the default) πŸ«₯
    • 1 β€” Solid fill πŸ’–
    • 2 β€” Pattern fill (not implemented in NCAR GKS) 😭
    • 3 β€” Hatch fill πŸ”₯

πŸ’œ USAGE πŸ’œ

So if you're going with fill style Hatch, you gotta call GSFASI to say what kind of hatch pattern you want (horizontal lines, vertical lines, etc.). That's its whole thing, let it cook. ✨

⚠️ Note, bestie: if you call GFA and make an output graphic and you're staring at a closed curve with no fill... you probably let the fill choice default to hollow fill (aka no fill). Not a bug, just the default being sneaky. πŸ’€

πŸ‘‘ ACCESS πŸ‘‘

To use GKS routines, load the NCAR GKS-0A library ncarg_gks. Slay.


🌈 SEE ALSO 🌈

Online: gfa, gsfasi, gscr, gsfaci, gqfais, gqfasi, areas, gset_fill_int_style

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.


mwah, that's the whole page 🫢 this came out of the NCAR GRAPHICS collection, UNIX flavour, dated March 1993 β€” vintage but still eating, no cap. bye bestie, go fill some polygons πŸ’…βœ¨