ImagerManhattanExtras.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Michael Plass, July 19, 1985 4:47:51 pm PDT
Provides extra operations on manhattan polygons.
DIRECTORY
IIManhattan USING [DeviceRectangle, Polygon];
IIManhattanExtras: CEDAR DEFINITIONS
~ BEGIN OPEN IIManhattan;
Modifying existing Polygons
DestructiveUnion:
PROC [a, b: Polygon]
RETURNS [Polygon];
Recycles storage of a, does not modify b.
DestructiveIntersection:
PROC [a, b: Polygon]
RETURNS [Polygon];
Recycles storage of a, does not modify b.
DestructiveClip:
PROC [a: Polygon, b: DeviceRectangle]
RETURNS [Polygon];
Recycles storage of a.
DestructiveDifference:
PROC [a, b: Polygon]
RETURNS [Polygon];
Recycles storage of a, does not modify b.
END.