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:
    1. Selects the identity transformation, in which both the window and viewport have the range of 0. to 1. in both coordinate directions. this one is the default, so if you don't say anything she just does this πŸ’–
    2. Selects a normalization transformation in which the window and viewport have been defined by calls to gset_win and gset_vp. so like, you built this one yourself, go off πŸ‘‘

πŸ’œ 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 (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 πŸ’‹βœ¨