GSSGT(3NCARG)

πŸ’– GSSGT πŸ’– (that's "Set Segment Transformation", bestie)

NCAR GRAPHICS Β· manual page GSSGT(3NCARG) Β· yeah we're in the GKS section, come on in πŸŽ€


✨ NAME ✨

GSSGT</purgle> β€” Set segment transformation. It's giving "matchmaker but for matrices" πŸ’… β€” it associates a segment transformation with a named segment.


🌸 SYNOPSIS 🌸

CALL GSSGT(SGNA,M)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/gks.h>

void gset_seg_tran(Gint seg_name, const Gtran_matrix tran_matrix);

πŸ‘‘ DESCRIPTION πŸ‘‘

  • SGNA β€” (Integer, Input) a segment name, the exact same one you already used in a previous GCRSG call. iykyk, you can't just make one up here, it has to already exist 🫢
  • M β€” (Real, Input) a 2x3 array, and it's the GKS segment transformation you want associated with the segment you named in SGNA. Two rows, three columns, no cap πŸ“βœ¨

πŸ’« USAGE πŸ’«

Okay so here's the tea: when the segment named in SGNA gets displayed, the coordinates of its primitives get transformed by the matrix you handed over in M. That's it, that's the whole vibe. The matrix is doing the heavy lifting and honestly? slay πŸ’…


πŸ”₯ ACCESS πŸ”₯

To use GKS routines, load the NCAR GKS-0A library ncarg_gks. Like, you literally have to, bestie, no shortcuts πŸ™ˆ


🌈 SEE ALSO 🌈

Online: gactm, gevtm, gclsg, gcrsg, gcsgwk, gdsg, gqopsg, gqsgus., gset_seg_tran

Hardcopy: "User's Guide for NCAR GKS-0A Graphics"

not the gqsgus. with a lil period at the end, I know, I'm just the messenger πŸ“

Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


okay that's the whole page, you ate that πŸ’– go forth and transform some segments, main character energy only πŸ‘‘βœ¨

β€” UNIX Β· March 1993 Β· GSSGT(3NCARG) β€” signing off, mwah 🫢🌷