Simulation support:

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

Description

GreSetModelXform sets the model transform matrix elements as specified.

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 an array. */
LONG      flOptions;    /*  Specifies how the supplied array is used to set the matrix. Valid values are: */
PVOID     pInstance;    /*  Pointer to instance data. */
ULONG     lFunction;    /*  High-order WORD=flags; low-order WORD=NGreSetModelXform. */
BOOL      fSuccess;     /*  Return codes. */

fSuccess = GreSetModelXform(hdc, paXformData,
             flOptions, pInstance, lFunction);


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