GQCLIP(3NCARG)
π GQCLIP π
okay bestie, welcome to GQCLIP from the NCAR GRAPHICS cinematic universe β¨ β she lives in section 3NCARG and her whole job is asking the graphics system one very important question: are we clipping right now, and if so, WHERE? π
β¨ NAME β¨
GQCLIP (Inquire clipping indicator) β she retrieves the current value of the clipping indicator plus the current clipping rectangle. Two-for-one, no cap. π«Ά
πΈ SYNOPSIS πΈ
CALL GQCLIP (ERRIND, ICLIP, CLRECT)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/gks.h>
void ginq_clip(Gint *err_ind, Gclip *clip_ind_rect);
π DESCRIPTION π
ERRIND(Integer, Output) β if the inquired values can't be returned correctly, you get a non-zero error indicator dropped intoERRIND; otherwise it's a zero, and we're chilling. π For the whole lore on what the error indicators mean, go consult the "User's Guide for NCAR GKS-0A Graphics" β she's the source, fr fr.ICLIP(Integer, Output) β hands you back the current value of the clipping indicator, whether that's the default or whatever got set by a call toGSCLIP. Here's the tea:0β clipping is off, or deactivated. π1β clipping is on. Data outside of the world coordinate window will not be plotted. π«
CLRECT(Real, Array(4)) β four normalized device coordinates giving the corner points of the current clipping rectangle, in the orderXMIN,XMAX,YMIN,YMAX. Periodt. π
π₯ ACCESS π₯
To use GKS routines, load the NCAR GKS-0A library ncarg_gks. That's it, that's the access. π
π SEE ALSO π
- Online:
set,gsclip,gswn,gselnt,ginq_clip - Hardcopy: "User's Guide for NCAR GKS-0A Graphics"
iykyk, that hardcopy guide is the main character of this whole saga. ππ
π 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 iconic lil entry is dated March 1993, it's from the UNIX corner of the world, and yes it really is GQCLIP(3NCARG) β the 3NCARG is giving "I'm a library function" energy and honestly? slay. π
β¨πΈ
π¦ 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