Softfill(3NCARG)
π Softfill β like, the whole vibe (3NCARG)
okay bestie, welcome to the NCAR Graphics manual, Softfill edition π β this one lives in section 3NCARG and it's literally about filling a polygonal subset of the plotter frame. that's it. that's the girl. π
β¨ NAME β¨
Softfill β Fills a polygonal subset of the plotter frame. no cap, that's the whole job description. π«Ά
πΈ SYNOPSIS πΈ
So here's the squad, and here's what each one does:
SFSGFAβ Can be made to fill polygons by calling the GKS routineGFA, or by calling the lower-level Softfill routinesSFWRLDandSFNORM. two paths, same destination, we love options β¨SFWRLDβ Fills polygons with parallel lines, or with dots, polymarkers, or selected characters arrayed in a regular rectangular pattern. so many textures, so little time πSFNORMβ Fills polygons with parallel lines, or with dots, polymarkers, or selected characters arrayed in a regular rectangular pattern. yes bestie, same description, they're twins fr fr π―SFGETCβ Retrieves the current character value of a specified internal parameter.SFGETIβ Retrieves the current integer value of a specified internal parameter.SFGETPβ Retrieves the current value of the dot pattern.SFGETRβ Retrieves the current real value of a specified internal parameter.SFSETCβ Sets the new character value of a specified internal parameter.SFSETIβ Sets the new integer value of a specified internal parameter.SFSETPβ Sets the new value of the dot pattern.SFSETRβ Sets the new real value of a specified internal parameter.
π C-BINDING SYNOPSIS π
for the C girlies, the whole crew got a c_ glow-up:
c_sfsgfa
c_sfwrld
c_sfnorm
c_sfgetc
c_sfgeti
c_sfgetp
c_sfgetr
c_sfsetc
c_sfseti
c_sfsetp
c_sfsetr
π¦ USER-MODIFIABLE INTERNAL ROUTINES π¦
None β nobody here is editable by you, bestie. hands off the internals π
π MESSAGES π
okay so, plot twist: things can go wrong in Softfill. Various error conditions can occur, and each one of them results in a call to the error-handling routine SETER, with a final argument indicating that the error is recoverable.
π¨ By default, an error message is printed and execution is terminated. but β and this is the iconic part β if you turn on error recovery (as described in themanpage forerror_handling), you can get control back. you get to be the main character of your own error. π
The error messages are as follows; all should be more or less self-explanatory:
SFGETC - PARAMETER NAME NOT KNOWN - X
SFGETC - PARAMETER NAME TOO SHORT - X
SFGETC - UNCLEARED PRIOR ERROR
SFGETI - UNCLEARED PRIOR ERROR
SFGETP - UNCLEARED PRIOR ERROR
SFGETR - PARAMETER NAME NOT KNOWN - X
SFGETR - PARAMETER NAME TOO SHORT - X
SFGETR - UNCLEARED PRIOR ERROR
SFNORM - ARRAY DST IS TOO SMALL
SFNORM - ARRAY IND IS TOO SMALL
SFNORM - COORDINATE ARRAYS TOO SMALL
SFNORM - LOGIC ERROR - SEE SPECIALIST
SFNORM - UNCLEARED PRIOR ERROR
SFSETC - PARAMETER NAME NOT KNOWN - X
SFSETC - PARAMETER NAME TOO SHORT - X
SFSETC - UNCLEARED PRIOR ERROR
SFSETI - UNCLEARED PRIOR ERROR
SFSETP - UNCLEARED PRIOR ERROR
SFSETR - PARAMETER NAME NOT KNOWN - X
SFSETR - PARAMETER NAME TOO SHORT - X
SFSETR - UNCLEARED PRIOR ERROR
SFSGFA - ERROR EXIT FROM GQFACI
SFSGFA - ERROR EXIT FROM GQPLCI
SFSGFA - UNCLEARED PRIOR ERROR
SFWRLD - UNCLEARED PRIOR ERROR
and now the tea on what these actually mean β:
- The
LOGIC ERRORinSFNORMshould never occur. if it does, it indicates a compiler problem or some sort of tampering with the code of the package. like, someone touched the code. not me, not you, but somebody. π - Error messages that complain of an error exit from a GKS routine probably imply that GKS has somehow been put in the wrong state. vibe check failed, basically. π
- In the messages that result from using an incorrect internal-parameter name in a call to one of the parameter-access routines, the
Xwill be replaced by the offending name. so if you seeX, that's a placeholder doing its little cameo β¨
π₯ SEE ALSO π₯
Online: softfill_params, sfgetc, sfgeti, sfgetp, sfgetr, sfsetc, sfseti, sfsetp, sfsetr, sfsgfa, sfwrld, ncarg_cbind
Hardcopy: 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 dropped back in March 1993, shipped under UNIX, and answers to the name Softfill(3NCARG). slay, stay filled, mwah πβ¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms