GSELNT(3NCARG)
β¨ GSELNT β bestie, we're picking a transformation β¨
Okay so real talk: this page is from NCAR GRAPHICS, it lives in section 3NCARG of the manual, and it's about GSELNT (short for Select normalization transformation). What does it do? It picks a predefined or user-defined transformation that maps world coordinates β‘οΈ normalized device coordinates. That's the whole vibe. Slay.
π SYNOPSIS π
CALL GSELNT (TRNUM)
π C-BINDING SYNOPSIS π
#include <ncarg/gks.h>
void gsel_norm_tran(Gint tran_num);
πΈ DESCRIPTION πΈ
TRNUMβ (Integer, Input) β a normalization transformation number. Bestie, heads up: the number of available transformations is implementation specific. But in the case of NCAR GKS-0A, you get exactly two, and here they are:0β selects the identity transformation, where both the window and the viewport have the range of0.to1.in both coordinate directions. This one is the default. π1β selects a normalization transformation where the window and viewport have been defined by calls toGSWNandGSVP. Iconic behavior honestly.
π¦ USAGE π¦
When a normalization transformation is selected, all world coordinate arguments to GKS functions are transformed by it. Every single one. No cap. π«Ά
π₯ ACCESS π₯
To use GKS routines, load the NCAR GKS-0A library ncarg_gks. That's it, that's the tea. β
π SEE ALSO π
Online: set, gsup, gswn, gqclip, gsel_norm_tran
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
π 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 little number is GSELNT(3NCARG) from the UNIX manual, dated March 1993. Obsessed. Periodt. π
π
π¦ 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