logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Access

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

Description

       seg_name    (Input) A segment name as used in a previous gcreate_seg call.

       tran_matrix (Gfloat, Input) - A 2x3 array giving the GKS segment transformation to be associated with the
                   segment specified in seg_name.

Name

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

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

Synopsis

       #include <ncarg/gks.h>

       void gset_seg_tran(Gint seg_name, const Gtran_matrix tran_matrix);

Usage

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

See Also