DIRECTORY Imager USING [Context], ImagerPixel USING [PixelBuffer, PixelMap], ImagerPD USING [CorrectionProc, Tile, Toner, UCR], ImagerColor USING [Color], ImagerDevice USING [AllowedMasks], ImagerTransformation USING [Transformation], PDFileFormat USING [Toner], PDFileWriter USING [PDState], RefTab USING [Ref]; ImagerPDPrivate: CEDAR DEFINITIONS ~ BEGIN PD: TYPE ~ REF PDRep; PDRep: PUBLIC TYPE ~ RECORD [ context: Imager.Context, toners: LIST OF ImagerPD.Toner, deviceData: DeviceData ]; ColorKind: TYPE ~ {nil, constant, sampled, sampledBlack, tile}; DeviceData: TYPE ~ REF DeviceDataRep; DeviceDataRep: TYPE ~ RECORD [ deviceType: ATOM, --for the color names; same as the command line deviceType writer: PDFileWriter.PDState, sSize, fSize: CARDINAL, feed, strip, imageStarted, priorityImportant: BOOL, tonerSet: PACKED ARRAY PDFileFormat.Toner OF BOOL, tonerUniverseSet: PACKED ARRAY PDFileFormat.Toner OF BOOL, toner: PDFileFormat.Toner, ucr: ImagerPD.UCR, maskTab: RefTab.Ref, colorKind: ColorKind, tileTable: TileTable, colorTile: ImagerPD.Tile, -- used iff colorKind=tile colorClear: BOOL, -- used iff colorKind=sampledBlack OR colorKind=tile sampledSource: ImagerPixel.PixelMap, -- used iff colorKind=sampled OR colorKind=sampledBlack paToDevice: ImagerTransformation.Transformation, -- mutable; used iff colorKind=sampled OR colorKind=sampledBlack halftoneBrick: ARRAY PDFileFormat.Toner OF REF ImagerPD.Tile, correctionProc: ImagerPD.CorrectionProc, pixelsRGB, pixelsCMYK: ImagerPixel.PixelBuffer, colorCorrectionData: REF, interpolate: BOOL ]; TileTable: TYPE ~ REF TileTableRep; TileTableRep: TYPE ~ RECORD [ SEQUENCE mod: NAT OF LIST OF TileEntry ]; TileEntry: TYPE ~ RECORD [ loadIndex: LONG CARDINAL, hash: CARDINAL, tile: ImagerPD.Tile ]; SetColor: PROC [context: Imager.Context, color: ImagerColor.Color, viewToDevice: ImagerTransformation.Transformation] RETURNS [ImagerDevice.AllowedMasks]; END. βImagerPDPrivate.mesa Copyright Σ 1983, 1984, 1985, 1986, 1987 by Xerox Corporation. All rights reserved. Michael Plass, February 24, 1987 10:00:57 pm PST Doug Wyatt, April 15, 1985 1:59:11 pm PST Eric Nickell, February 18, 1986 6:28:25 pm PST Stone, February 4, 1987 4:24:56 pm PST Last edited by: Mik Lamming - May 4, 1987 1:05:26 pm PDT Maureen Stone, May 7, 1987 3:56:05 pm PDT nil: color uninitialized constant: all color information required has been passed to PDFileWriter (i.e., in the load) sampled: color that requires halftoning sampledBlack: sampled black that could not be turned into constant or tile tile: a tile color that would not fit into the load Private communication between ImagerPDImpl and ImagerPDColorImpl Κπ˜codešœ™KšœT™TK™0K™)K™.K™&K™8K™)—K˜šΟk ˜ Kšœœ ˜Kšœ œ˜*Kšœ œœ˜2Kšœ œ ˜Kšœ œ˜"Kšœœ˜,Kšœ œ ˜Kšœ œ ˜Kšœœ˜—K˜KšΠblœœ ˜"šœ˜K˜—Kšœœœ˜šœœœœ˜Jšœ˜Jšœœœ˜Jšœ˜Jšœ˜K˜—šœ œ0˜?Kšœ™Kšœ\™\Kšœ'™'KšœJ™JKšœ3™3K˜—Kšœ œœ˜%šœœœ˜Kšœ œΟc;˜MJšœ˜Kšœœ˜Jšœ.œ˜3Jš œ œœœœ˜2Jš œœœœœ˜:J˜Jšœœ˜Jšœ˜J˜J˜JšœŸ˜4Jšœ œŸ4˜FJšœ%Ÿ7˜\Jšœ1Ÿ@˜qJšœœœœ˜=Jšœ(˜(Jšœ/˜/Jšœœ˜Jšœ ˜Jšœ˜J˜—Jšœ œœ˜#šœœœ˜Kš œœœœœ ˜&Kšœ˜K˜—šœ œœ˜Kšœ œœ˜Kšœœ˜Kšœ˜Kšœ˜K˜—KšΟnœœhœ˜šK™@K˜Kšœ˜J˜J˜—…—Š \