<> <> <> <> DIRECTORY ImagerPath USING [PathProc], ImagerTransformation USING [Transformation], SF USING [Box, BoxAction, maxBox]; ImagerScanConverter: CEDAR DEFINITIONS ~ BEGIN PathProc: TYPE ~ ImagerPath.PathProc; Transformation: TYPE ~ ImagerTransformation.Transformation; Box: TYPE ~ SF.Box; maxBox: Box ~ SF.maxBox; BoxAction: TYPE ~ SF.BoxAction; DevicePath: TYPE ~ REF DevicePathRep; DevicePathRep: TYPE; CreatePath: PROC [path: PathProc, transformation: Transformation _ NIL, clipBox: Box _ maxBox, scratch: DevicePath _ NIL -- for re-use of storage ] RETURNS [DevicePath]; BoundingBox: PROC [devicePath: DevicePath, clipBox: Box _ maxBox] RETURNS [Box]; <> <<>> NumberOfBoxes: PROC [devicePath: DevicePath] RETURNS [INT]; <> <<>> ConvertToBoxes: PROC [devicePath: DevicePath, oddWrap: BOOL _ FALSE, clipBox: Box _ maxBox, boxAction: BoxAction]; ConvertToManhattanPolygon: PROC [devicePath: DevicePath, oddWrap: BOOL _ FALSE, clipBox: Box _ maxBox] RETURNS [LIST OF Box]; <> END.