C++
virtual void setViewportClipRegion( int contours, int const * counts, AcGsDCPoint const * points ) = 0;
Description
This method is used to specify a clip region distinct from the rectangular region supplied via setViewport(). The region consists of the union of a set of polygons (each may be self-intersecting) determined by the application of the even-odd winding rule to the specified contour; this region is open (it does not include the contour itself).
Parameters
Parameters | Description |
---|---|
contours | Input number of polygonal contours and the size of the counts array |
counts | Input array; each entry corresponds to the number of device coordinate points used to specify that contour in the points array. For example, counts[i] contains the number of points that represent the (ith + 1) polygonal contour. |
points | Input array of points that specify polygonal contours |