Simulation support:

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

Description

GreSetViewingLimits sets the boundaries of the viewing (clip) limits in model space to the specified values.

This function can be hooked by the presentation driver.

#define INCL_GRE_XFORMS
#include <os2.h>

HDC       hdc;                /*  Device context handle. */
PRECTL    prclViewingLimits;  /*  Pointer to limits of viewing area. */
PVOID     pInstance;          /*  Pointer to instance data. */
ULONG     lFunction;          /*  High-order WORD=flags; low-order WORD=NGreSetViewingLimits. 
  * /
BOOL        fSuccess ;              / *    Return   codes .   * /

fSuccess   =   GreSetViewingLimits ( hdc ,   prclViewingLimits ,
               pInstance ,   lFunction ) ;


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