Chapter Contents

Previous

Next
POLYGONCLIP

POLYGONCLIP



Specifies the type of clipping used when two polygons overlap.

Used in: GOPTIONS statement
Default: device dependent
See also: PCLIP


Syntax
Details

Syntax

POLYGONCLIP | NOPOLYGONCLIP

POLYGONCLIP
specifies polygon clipping, which enables a clipped polygon to be filled with a hardware pattern. POLYGONCLIP affects only graphs that have blanking areas or intersecting polygons.

NOPOLYGONCLIP
specifies line clipping; a polygon that has been line-clipped cannot use a hardware pattern.


Details

Clipping is the process of removing part of one polygon when two polygons intersect. For example, in a block map, a block may overlap the boundary of its map area. In this case, the polygon that makes up the map area is clipped so that you do not see the boundary line behind the block. (See Intersecting Polygons for an illustration of a clipped polygon.) The type of clipping used by a graph affects whether a clipped area can use hardware patterns.

POLYGONCLIP is affected by the PCLIP graphics option:

POLYGONCLIP with PCLIP or NOPCLIP
all areas can use hardware patterns

NOPOLYGONCLIP with NOPCLIP
all areas use only software patterns

NOPOLYGONCLIP with PCLIP
areas may use either hardware or software patterns depending on the nature of the clipped polygons.

Under some conditions the polygons may not be clipped correctly. Specifying both POLYGONCLIP and NOPCLIP will produce the correct graph.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.