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 of 0. to 1. in both coordinate directions. This one is the default. πŸ’–
    • 1 β€” selects a normalization transformation where the window and viewport have been defined by calls to GSWN and GSVP. 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 (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. πŸ’…πŸŽ€