GQCLIP(3NCARG)
π GQCLIP β bestie, it's the NCAR GRAPHICS manual page π
okay so we're in the NCAR GRAPHICS section of the manual, and today's main character is GQCLIP, aka Inquire clipping indicator. she does exactly what it says on the tin and honestly? we're obsessed. π
β¨ NAME β¨
GQCLIP (Inquire clipping indicator) β she retrieves the current value of the clipping indicator AND the current clipping rectangle. two for one, no cap. π
πΈ SYNOPSIS πΈ
Fortran besties, say it with me:
CALL GQCLIP (ERRIND, ICLIP, CLRECT)
π¦ C-BINDING SYNOPSIS π¦
for the C girlies π«Ά (iykyk):
#include <ncarg/gks.h>
void ginq_clip(Gint *err_ind, Gclip *clip_ind_rect);
β DESCRIPTION β
okay so here's the tea on every single argument, and yes we're doing all of them, nobody gets left behind π
ERRIND(Integer, Output) β if the inquired values can't be returned correctly, you get a non-zero error indicator dropped inERRIND. otherwise it's a zero and everything's slay. if you need the full lore on what the error indicators actually mean, go consult the "User's Guide for NCAR GKS-0A Graphics" β she explains it, not me. β¨ICLIP(Integer, Output) β hands you back the current value of the clipping indicator, either as it was set by default or as it was set by a call toGSCLIP. here's the vibe check:0β clipping is off, or deactivated. free-range data, go wild. π¦1β clipping is on. anything outside the world coordinate window will not be plotted. she's got boundaries, respect them. π
CLRECT(Real, Array(4)) β four normalized device coordinates giving you the corner points of the current clipping rectangle, and they come in this exact order, do not shuffle them:XMIN,XMAX,YMIN,YMAX. π
π₯ ACCESS π₯
to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. that's the whole vibe. load her and she shows up. π
π SEE ALSO π
Online: set, gsclip, gswn, gselnt, ginq_clip
Hardcopy: "User's Guide for NCAR GKS-0A Graphics"
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
the use of this Software is governed by a License Agreement. periodt. π
okay bestie that's the whole page, tysm for reading, mwah π
UNIX Β· March 1993 Β· GQCLIP(3NCARG) β and that's the sign-off, love u, bye! πΈπβ¨
π¦ 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