## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### Matrix Element Format

The matrix elements for the model and viewing transforms are held in XFORM structures:

fxM11
fxM12
fxM21
fxM22
lM41
lM42

M11, M12, M21, and M22 are fixed-point numbers represented as signed four- byte integers with a notational binary point between bits 16 and 15:

         +2.5 is represented by 00028000H
         -2.5 is represented by FFFD8000H
         -0.5 is represented by FFFF8000H

M41 and M42 are signed four-byte numbers.