| Home
| Previous
| Next
| Up

SetClipper

Set the currently active clipper for a buffer

Declaration

void GA_bufferFuncs::SetClipper(
GA_buf *buf,
GA_clipper *clipper)

Prototype In

snap/graphics.h

Parameters

buf | SNAP buffer to draw to
clipper | New clipper to make the active clipper for the buffer

Return Value

Pointer to currently active clipper, NULL if none assigned.

Description

This function is used set the currently active clipper object for a buffer. Once a clipper object has been attached to a buffer, all rendering functions will be clipped to the dimensions of the attached clipper object. This functionality is only presently supported by the DirectX SNAP emulation driver, specifially to allow rendering directly in a window on the desktop.

See Also

BitBltBuf, GetClipper

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