GINQ_CLIP(3NCARG)
β¨ GINQ_CLIP β¨
okay so bestie, welcome to the ginq_clip page, from the NCAR GRAPHICS manual set (section 3NCARG, iykyk). this one's a lil inquiry routine and she's honestly so simple it's giving "one job, does it well" π
πΈ NAME πΈ
ginq_clip β Inquire GKS clipping indicator. that's it, that's the whole name, she's lowkey iconic for it π
π DESCRIPTION π
ginq_clip (Inquire clipping indicator) β literally just goes and fetches the current value of the clipping indicator and the current clipping rectangle. two-for-one, no cap π«Ά
β¨ SYNOPSIS β¨
#include <ncarg/gks.h>
void ginq_clip(Gint *err_ind, Gclip *clip_ind_rect);
π DESCRIPTION π
so here's the tea on the arguments, bestie, pay attention because both of them are Output and neither one of them is here to be given anything, they're here to tell you stuff:
err_indβ (Output) π if the inquired values can't be returned correctly, you get a non-zero error indicator dropped intoerr_ind. otherwise it's a chill little zero. and if you're like "okay but what do the numbers MEAN" β go read the User's Guide for NCAR GKS-0A Graphics, she has the whole description of the error indicators, fr fr.clip_ind_rect.clip_indβ (Output) π returns the current value of the clipping indicator, whether that got set by default or by you callinggset_clip_ind. and it comes back as one of these two vibes:GIND_NO_CLIPβ clipping is off, or deactivated. she's not clipping, she's resting πGIND_CLIPβ clipping is on. data outside of the world coordinate window will not be plotted. periodt, it's not showing up, it's not invited π
clip_ind_rect.clip_rectβ (Glimit, Output) π¦ four normalized device coordinates giving the corner points of the current clipping rectangle. that's four numbers, four corners, one rectangle, slay.
π ACCESS π
to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. both of them. don't skip one, bestie, she will not run π
π₯ SEE ALSO π₯
Online:
set(3NCARG)gset_clip_ind(3NCARG)gset_win(3NCARG)gsel_norm_tran(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.
okay and that's the whole page, you ate it, you understood it, you're basically a GKS girlie now β so go inquire about your clipping and stay hydrated π
this was the UNIX version, dated March 1993, filed under GINQ_CLIP(3NCARG) β mwah, bye bestie ππ§
π¦ 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