Simulation support:

This function is simulated by a handling routine in the graphics engine.

Description

GreGetModelXform queries the current model transform matrix. On completion, paXformData is an array of two-dimensional values defining the current model transform matrix.

This function can be hooked by the presentation driver.

#define INCL_GRE_XFORMS
#include <os2.h>

HDC       hdc;          /*  Device context handle. */
PXFORM    paXformData;  /*  Pointer to return data. */
PVOID     pInstance;    /*  Pointer to instance data. */
ULONG     lFunction;    /*  High-order WORD=flags; low-order WORD=NGreGetModelXform. */
BOOL      fSuccess;     /*  Return codes. */

fSuccess = GreGetModelXform(hdc, paXformData,
             pInstance, lFunction);


[Back: GreGetModelXform]
[Next: GreGetModelXform Parameter - hdc]