Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcscale(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glcScale(3G)              OpenGL Character Renderer               glcScale(3G)



NAME
     glcScale - multiply GLCBITMAPMATRIX with a general scaling matrix


C SPECIFICATION
     void glcScale( GLfloat inX,
                    GLfloat inY )


PARAMETERS
     inX  Specifies the scale factor along the x axis.

     inY  Specifies the scale factor along the y axis.

DESCRIPTION
     glcScale produces a general scaling along the x and y axes.  The two
     arguments indicate the desired scale factors along each of the three
     axes.  The resulting matrix is

( )
inX 0
| |
0 inY
( )
glcScale multiplies GLCBITMAPMATRIX with this scale matrix, with the product replacing the current matrix. That is, if M is the current matrix and S is the scale matrix, then M is replaced with M ⊕ S. ERRORS GLCSTATEERROR is generated if the issuing thread has no current GLC context. ASSOCIATED GETS glcGetfv with argument GLCBITMAPMATRIX SEE ALSO glcLoadIdentity, glcLoadMatrix, glcMultMatrix, glcRotate Page 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026