GSET_SEG_TRAN(3NCARG)
π GSET_SEG_TRAN π
okay so bestie, welcome to the NCAR GRAPHICS corner of the manual, this one lives in section 3NCARG and it's literally called gset_seg_tran β which is short for Set segment transformation β¨
πΈ NAME πΈ
gset_seg_tran (Set segment transformation) β she associates a segment transformation with a named segment. that's it, that's the whole job, and she does it flawlessly π
π SYNOPSIS π
#include <ncarg/gks.h>
void gset_seg_tran(Gint seg_name, const Gtran_matrix tran_matrix);
π¦ DESCRIPTION π¦
seg_nameβ (Input) a segment name, as used in a previousgcreate_segcall. like, the name you already gave your segment earlier, yeah that one π«Άtran_matrixβ (Gfloat, Input) β a 2x3 array giving the GKS segment transformation to be associated with the segment specified inseg_name. two by three. iconic dimensions. no cap.
π USAGE π
when the segment named in seg_name gets displayed, the coordinates of its primitives are transformed by the matrix specified in tran_matrix. so like... the matrix is doing the glow-up on the coordinates, basically π«
π ACCESS π
to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. both of them. don't skip one, bestie, that's giving broken build energy π
β SEE ALSO β
Online: gaccum_tran_matrix(3NCARG), geval_tran_matrix(3NCARG), gclose_seg(3NCARG), gcreate_seg(3NCARG), gcopy_seg_ws(3NCARG), gdel_seg(3NCARG), ginq_name_open_seg(3NCARG), ginq_set_seg_names(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.
and that's the whole page, bestie!! this lil masterpiece was chillin' in the UNIX manual back in March 1993 β vintage fr fr, but the lore still hits πΈβ¨ mwah, go transform some segments, you got this π«Άπ
π¦ 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