DOKK / manpages / debian 11 / libncarg-dev / gset_seg_tran.3ncarg.en
GSET_SEG_TRAN(3NCARG) NCAR GRAPHICS GSET_SEG_TRAN(3NCARG)

gset_seg_tran (Set segment transformation) - Associates a segment transformation with a named segment.

#include <ncarg/gks.h>

void gset_seg_tran(Gint seg_name, const Gtran_matrix tran_matrix);

(Input) A segment name as used in a previous gcreate_seg call.
(Gfloat, Input) - A 2x3 array giving the GKS segment transformation to be associated with the segment specified in seg_name.

When the segment named in seg_name is displayed, the coordinates of its primitives are transformed by the matrix specified in tran_matrix.

To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.

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 (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

March 1993 UNIX