GetClipList

Returns a list of rectangles representing the complex clip list

Declaration

GA_rect * GA_clipperFuncs::GetClipList(
GA_clipper *clipper,
N_int32 *count)

Prototype In

snap/graphics.h

Parameters

clipper | Clipper object to test
count | Number of rectangles in clip list

Return Value

Pointer to a list of rectangles in the clip list.

Description

This function returns the complex clip list for the associated clipper if the window requires complex clipping. If the region does not require complex clipping, this function will return a single rectangle and return a value of 1 in the count parameter. The complex clip list is just a list of rectangles, and the number of rectangles in the list is returned in the count parameter.

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

CreateClipper, IsClipListChanged, DestroyClipper

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