[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPSC2 - Scale 2

GPSC2 (scale, matrix)

Purpose

Use GPSC2 to calculate a two-dimensional scaling matrix using a given scaling vector containing x and y scale factors.

Parameters

scale -- specified by user, 2 short floating-point numbers

Scale factors in x and y directions.

matrix -- returned by the graPHIGS API, 9 short floating-point numbers

Transformation matrix.

The elements are returned in the following order for the transformation matrix:

             
  |m11 m12 m13|
  |m21 m22 m23| ---> (m11,m12,m13,m21.....m33)
  |m31 m32 m33|
             

Error Codes

None

Related Subroutines

None

RCP code

201330948 (X'0C001104')


[ Previous | Next | Contents | Glossary | Home | Search ]