INTERFACE PZWindow; (* A PZWindow.T is a rectangle on the plotting plane. *) (* Last edited on 2001-11-11 12:42:13 by stolfi *) IMPORT Rd; IMPORT PSPlot; FROM PZTypes IMPORT LONG; TYPE T = ARRAY Axis OF Range; Axis = PSPlot.Axis; Range = PSPlot.Range; PROCEDURE Join(READONLY b1, b2: T): T; (* The smallest bounding box that contains "b1" and "b2". *) PROCEDURE Expand(READONLY b: T; rel: LONG): T; (* Enlarges "b" on all four sides by "rel" times its maximum extent. *) PROCEDURE Read(rd: Rd.T): T; (* Reads a window from "rd". *) END PZWindow.