ULONG XFORMOBJ_iGetFloatObjXform(
IN XFORMOBJ *pxo, | |
OUT FLOATOBJ_XFORM *pxform | |
); |
XFORMOBJ_iGetFloatObjXform downloads a FLOATOBJ transform to the driver.
If an error occurs, the return value is DDI_ERROR. Otherwise, the return value is a complexity hint about the transform object. The value of this transform characterization can be one of the following:
Return Value |
Meaning |
GX_IDENTITY |
Identity matrix; no translation offset. |
GX_OFFSET |
Identity matrix; there is a translation offset. |
GX_SCALE |
Off-diagonal matrix elements are zero. |
GX_GENERAL |
Arbitrary 2 x 2 matrix and offset. |
If pxform is not null, XFORMOBJ_iGetFloatObjXform loads a FLOATOBJ_XFORM into it. This function allows graphics drivers to emulate floating point arithmetic. Windows NT does not support kernel-mode floating point operations on some systems.