GQNT(3NCARG)
💖 GQNT (Inquire normalization transformation) 💖
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, page GQNT(3NCARG) 🎀 — yes it's a Fortran-flavored GKS situation, but stay with me, it's actually cute.
This one retrieves the window and viewport that go with a given normalization transformation. That's the whole job. It's giving "look up the receipts for transformation number N" energy. 🧾✨
🫶 real talk from the authors though: if you're using NCAR Graphics, they encourage you to use the SPPS routinesSETandGETSETto handle normalization transformations instead of the GKS entriesGSWN,GSVP,GSELNT, andGQNT. so like… this exists, but the SPPS route is the moment. iykyk. 💅
✨ SYNOPSIS ✨
CALL GQNT (NTNR, ERRIND, WINDOW, VIEWPT)
🌈 C-BINDING SYNOPSIS 🌈
#include <ncarg/gks.h>
void ginq_norm_tran(Gint num, Gint *err_ind, Gtran *norm_tran);
💜 DESCRIPTION 💜
here's the cast of characters, no skips, all of them get their moment:
NTNR(Integer, Input) — this is the number of the normalization transformation you're asking about. like, which one bestie, be specific. 🔢ERRIND(Integer, Output) — if the inquired value can't be returned correctly, a non-zero error indicator lands inERRIND. otherwise you get a zero, and honestly, slay. 🎀 for a description of what the error indicators actually mean, go consult the "User's Guide for NCAR GKS-0A Graphics".WINDOW(4)(Real Array, Output) — the world coordinate window limits, in exactly this order:WXMIN,WXMAX,WYMIN,WYMAX. four slots, that order, periodt. 📐VIEWPT(4)(Real Array, Output) — the normalized device coordinate viewport limits, in exactly this order:VXMIN,VXMAX,VYMIN,VYMAX. same deal, four slots, that order. 🌸
🔥 ACCESS 🔥
to use GKS routines, load the NCAR GKS-0A library ncarg-gks. that's the vibe check you gotta pass first. 🫶
👑 SEE ALSO 👑
- Online:
gswn,gsvp,gselnt,gqcntn,gqmntn,getset,gsclip,gqclip,ginq_norm_tran - Hardcopy: "User's Guide for NCAR GKS-0A Graphics"
(the online list is lowkey a whole friend group. go say hi. 🦋)
💀 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 page, bestie! this iconic little writeup comes to you from the UNIX manual, dated March 1993, filed under GQNT(3NCARG). main character energy since '93, no cap. ✨💖🎀
📦 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