| Home
| Previous
| Next
| Up

CreateClipper

Creates a clipper object for a specific window manager window

Declaration

GA_clipper * GA_clipperFuncs::CreateClipper(
PM_HWND hwnd)

Prototype In

snap/graphics.h

Parameters

hwnd | Window handle to create the clipper for

Return Value

Pointer to the allocated clipper, NULL on failure.

Description

This function is used to create a clipper object that is associated with a window manager window handle. This clipper object will track the visible clip lists associated with the window handle, and when attached to a buffer will cause all output to that buffer to he clipped to the currently active visible clip list for the window.

This function is presently only implemented in the SNAP DirectX emulation driver, and is intended to allow the SNAP to draw directly into windows on the desktop.

See Also

IsClipListChanged, GetClipList, DestroyClipper

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com