DIRECTORY Imager USING [Context], ImagerSample USING [SampleMap], ImagerTransformation USING [ScanMode], PrintColor USING [ColorCorrection, HalftoneProperties, LogicalDevice], SF USING [Vec], Vector2 USING [VEC]; ImagerFourColorContext: CEDAR DEFINITIONS ~ BEGIN Toner: TYPE ~ {black, cyan, magenta, yellow}; Create: PROC [deviceSpaceSize: SF.Vec, scanMode: ImagerTransformation.ScanMode, surfaceUnitsPerInch: Vector2.VEC, logicalDevice: PrintColor.LogicalDevice, halftoneProperties: PrintColor.HalftoneProperties, correction: PrintColor.ColorCorrection, interpolate: BOOL, bitmaps: ARRAY Toner OF ImagerSample.SampleMap] RETURNS [Imager.Context]; SetBitmaps: PROC [context: Imager.Context, bitmaps: ARRAY Toner OF ImagerSample.SampleMap]; END. * ImagerFourColorContext.mesa Copyright ำ 1989, 1991, 1993 by Xerox Corporation. All rights reserved. Tim Diebert: January 6, 1993 11:55 am PST deviceSpaceSize gives the slow and fast dimensions of the entire device space. scanMode specifies the scan direction information surfaceUnitsPerInch specifies the resolution in the slow(x) and fast(y) directions logicalDevice is a code that specifies the particular logical device halftoneProperties specify the halftoning characteristics for each separation correction provides a hook for doing color correction interpolate specifies whether or not to interpolate sampled images bitmaps specifies an array of samplemaps to image into Sets the bitmaps under the context; the bitmaps don't have to cover all of the device space, but the must be the same size. ส|–(cedarcode) style•NewlineDelimiter ™šœ™Icodešœ ฯeœ=™HK™)—K˜šฯk ˜ Kšœžœ ˜Kšœ žœ ˜Kšœžœ ˜&Kšœ žœ6˜FKšžœžœ˜Kšœžœžœ˜—K˜Kšะlnœžœž ˜)šœž˜K˜Kšœžœ"˜-K˜KšฯnœžœžœLžœ“žœ žœžœžœ˜าKšฯzœ?™NKšกœ)™1Kšกœ?™RKšก œ7™DKšกœ;™MKšก œ+™5Kšก œ7™BKšกœ/™6K˜š  œžœ$žœžœ˜[K™{—K˜—K˜Kšžœ˜—…—๐–