GSEL_NORM_TRAN(3NCARG)
β¨ GSEL_NORM_TRAN β¨
okay bestie, so this is a page from the NCAR GRAPHICS manual, section 3NCARG, and it's about gsel_norm_tran β aka Select normalization transformation π
πΈ NAME πΈ
gsel_norm_tran (Select normalization transformation) β she selects a predefined or user-defined transformation that maps world coordinates to normalized device coordinates. that's it, that's the job π«Ά
π SYNOPSIS π
#include <ncarg/gks.h>
void gsel_norm_tran(Gint tran_num);
π¦ DESCRIPTION π¦
tran_num(Input) β a normalization transformation number. bestie, the number of available transformations is implementation specific, so don't come for me. in the case of NCAR GKS-0A, two normalization transformations are provided:- Selects the identity transformation, in which both the window and viewport have the range of
0.to1.in both coordinate directions. this one is the default, so if you don't say anything she just does this π - Selects a normalization transformation in which the window and viewport have been defined by calls to
gset_winandgset_vp. so like, you built this one yourself, go off π
- Selects the identity transformation, in which both the window and viewport have the range of
π USAGE π
the way that this works: when a normalization transformation is selected, all world coordinate arguments to GKS functions are transformed by it. every single one. no exceptions, no skips. periodt π
π₯ ACCESS π₯
to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. load them. both of them. iykyk π§
π SEE ALSO π
Online: set(3NCARG), gset_win(3NCARG), gset_vp(3NCARG), ginq_clip(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
lowkey important, highkey iconic: that license agreement is not a suggestion, bestie. read it π«Ά
okay that's the whole page, no cap. this was the UNIX version, dated March 1993, from the NCAR Graphics 3NCARG set. mwah, stan a well-documented transformation selector πβ¨
π¦ 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