GSET_FILL_INT_STYLE(3NCARG)
π GSET_FILL_INT_STYLE π
okay bestie, so this is a page from the NCAR GRAPHICS manual, and the function we're obsessing over today is gset_fill_int_style β aka Set fill area interior style. It's giving main character energy for one very specific job: it sets the fill style of the polygons you draw with gfill_area. That's it. That's the whole vibe. β¨
πΈ NAME πΈ
gset_fill_int_style (Set fill area interior style) β sets the fill style of polygons drawn with gfill_area. no cap, that's literally what it does π
π SYNOPSIS π
#include <ncarg/gks.h>
void gset_fill_int_style(Gfill_int_style fill_int_style);
β¨ DESCRIPTION β¨
So you pass in one little argument and it changes how all your future polygons get filled. Iconic behaviour, honestly.
fill_int_styleβ (Input) this is the style of fill that gets used in all the subsequent calls to thegfill_areaoutput primitive. Like, it's setting the mood for everything that comes after. Your options are:GSTYLE_HOLLOWβ Hollow fill (this is the default, so if you didn't ask for anything, this is what you got π« )GSTYLE_SOLIDβ Solid fill (the full-coverage queen π)GSTYLE_PATβ Pattern fill (not implemented in NCAR GKS, so don't get your hopes up bestie π)GSTYLE_HATCHβ Hatch fill (lines! stripes! a whole lewk π)
π« USAGE π«
If you're going with fill style "Hatch", then gset_fill_style_ind is the one you call to specify which type of hatch pattern you want β horizontal lines, vertical lines, etc. They're a package deal, fr fr.
β οΈ Real talk, this note is important: if you call gfill_area and you get an output graphic back and it's just a closed curve with no fill at all? You probably let the fill choice default to hollow fill (aka no fill). Not a bug, just a default doing default things. π
π ACCESS π
To use the GKS C-binding routines, you load the ncarg_gks and ncarg_c libraries. That's the whole secret. π
π¦ 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 π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the whole page, bestie!! this one came straight outta the UNIX corner of the NCAR Graphics docs, dated March 1993 β vintage but still slaying. go fill some polygons, ily π«Άπβ¨
π¦ 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