## Presentation Device Driver Reference for OS/2

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

### GreMultiplyXforms

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support:

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

Description

GreMultiplyXforms multiplies the transform matrix.

This function can be hooked by the presentation driver.

    #define INCL_GRE_XFORMS

    #include <os2.h>

    HDC       hdc;             /*  Device context handle. */

    PXFORM    paXform;

    PXFORM    paNewXformData;

    LONG      lMode;           /*  Specifies how supplied array is used to set matrix: */

    PVOID     pInstance;       /*  Pointer to instance data. */

    ULONG     lFunction;

    BOOL      fSuccess;        /*  Return codes. */

    fSuccess = GreMultiplyXforms(hdc, paXform,

                 paNewXformData, lMode, pInstance,

                 lFunction);