GSSGT(3NCARG)
β¨ GSSGT (Set segment transformation) β¨
okay so bestie, welcome to the NCAR GRAPHICS corner of the manual π this one lives in section 3NCARG and it's literally called GSSGT β Set segment transformation. and yes, it does exactly what it says on the tin: it associates a segment transformation with a named segment π¦
π NAME π
GSSGT (Set segment transformation) β associates a segment transformation with a named segment. that's it. that's the whole job. iconic. π
πΈ SYNOPSIS πΈ
CALL GSSGT(SGNA,M)
likeβ¦ two arguments. two. we love a low-effort queen π
π¦ C-BINDING SYNOPSIS π¦
for my C girlies β¨
#include <ncarg/gks.h>
void gset_seg_tran(Gint seg_name, const Gtran_matrix tran_matrix);
no cap, if you're in C-land this is your door πͺπ
β DESCRIPTION β
let's do a vibe check on the args, shall we?
SGNAβ (Integer, Input) β a segment name, as used in a previousGCRSGcall. so like, you already made this segment, now you're naming it again. bestie behaviour fr fr. π«ΆMβ (Real, Input) β a 2x3 array giving the GKS segment transformation to be associated with the segment specified inSGNA. two rows, three columns, no more no less. it's giving precise. πβ¨
π USAGE π
here's the tea β β when the segment named in SGNA is displayed, the coordinates of its primitives get transformed by the matrix specified in M. that's the whole plot twist. your primitives get moved, scaled, rotated, whatever that matrix says. main character energy honestly π«
π₯ ACCESS π₯
to use GKS routines, load the NCAR GKS-0A library ncarg_gks. no library, no vibes. periodt. π
π SEE ALSO π
Online: gactm, gevtm, gclsg, gcrsg, gcsgwk, gdsg, gqopsg, gqsgus., gset_seg_tran
Hardcopy: "User's Guide for NCAR GKS-0A Graphics" π
go read the friends, they're all in the same group chat iykyk π§
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay so legally speaking: it's theirs, it's licensed, read the agreement, don't be weird about it π
and that's the whole page bestie!! π source + version + date check: this dropped as UNIX, March 1993, page GSSGT(3NCARG). she's old but she ate and left no crumbs πβ¨ slay, go transform some segments π¦
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms