GQCLIP(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– 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 in ERRIND. 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 to GSCLIP. 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 (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