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
ImagerManhattan USING [DeviceRectangle, Polygon];
ImagerManhattanExtras: CEDAR DEFINITIONS
~ BEGIN OPEN ImagerManhattan;
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.