GKS provides four utility functions to help you to compute transformation
matrixes and to process packed data records:
- Evaluate transformation matrix (GEVTM) computes segment transformation
matrixes from input values for shift, rotation, and scale.
- Accumulate transformation matrix (GACTM) composes a new matrix from an
input transformation matrix plus new input values for shift, rotation,
and scale.
- Pack data record (GPRECS) accepts individual unpacked elements of a
data record, and returns them in packed format.
- Unpack data record (GURECS) performs the inverse of the Pack data
record (GPRECS) function.
Packed data records are required by the input functions that initialize
logical input devices.
Transformation matrixes are required as input parameters for Set segment
transformation (GSSGT) and Insert segment (GINSG).
|