DIRECTORY IIColorOperator; IIColorOperatorPrivate: CEDAR DEFINITIONS ~ BEGIN OPEN IIColorOperator; ColorOperatorImpl: TYPE ~ REF ColorOperatorImplRep; ColorOperatorImplRep: TYPE ~ RECORD [ SELECT type: * FROM black => [clear: BOOL], grayLinear => [ sWhite, sBlack: REAL, map: SampleMap _ NIL ], grayDensity => [ sWhite, sBlack, dBlack: REAL, map: SampleMap _ NIL ], grayVisual => [ sWhite, sBlack: REAL, map: SampleMap _ NIL ], map => [ v: SEQUENCE size: Sample OF ConstantColor ], rgbLinear => [ maxSampleValue: Sample ], ENDCASE ]; SampleMap: TYPE ~ REF SampleMapRep; SampleMapRep: TYPE ~ RECORD [SEQUENCE size: Sample OF REAL]; ColorOperatorClass: TYPE ~ REF ColorOperatorClassRep; ColorOperatorClassRep: TYPE ~ RECORD [ classID: ATOM, ColorFromPixel: PROC [op: ColorOperator, pixel: PixelProc] RETURNS [ConstantColor], NewMapper: PROC [op: ColorOperator, component: ATOM, maxIn, maxOut: Sample] RETURNS [Mapper] ]; END. ΐImagerColorOperatorPrivate.mesa Copyright c 1984, 1985 by Xerox Corporation. All rights reserved. Doug Wyatt, May 29, 1985 10:53:02 pm PDT Michael Plass, June 12, 1985 11:30:19 am PDT ΚΗ˜codešœ™Kšœ Οmœ7™BKšœ(™(K™,—K™šΟk ˜ Kšœ˜—K˜KšΠblœžœž ˜)Kšœžœžœ˜K˜Kšœžœžœ˜3šœžœžœ˜%šžœ ž˜Kšœžœ˜˜Kšœžœ˜Kšœž˜K˜—˜Kšœžœ˜Kšœž˜K˜—˜Kšœžœ˜Kšœž˜K˜—šœ˜Kšœžœžœ˜)Kšœ˜—˜Kšœ˜K˜—Kšž˜—K˜K˜—Kšœ žœžœ˜#š œžœžœžœžœžœ˜