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 into ERRIND; 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 to GSCLIP. 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 order XMIN, 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 (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. πŸ’…βœ¨πŸŒΈ