DIRECTORY Imager USING [Context], ImagerColor USING [ConstantColor], ImagerColorMap USING [MapEntry], ImagerDitheredDevice USING [SpecialPixel]; ImagerDitherContext: CEDAR DEFINITIONS ~ BEGIN MapEntries: TYPE ~ LIST OF ImagerColorMap.MapEntry; SetDitherMap: PROC [context: Imager.Context, mapEntries: MapEntries]; DoWithDitherMap: PROC [context: Imager.Context, mapEntries: MapEntries, action: PROC]; ConstantColor: TYPE ~ ImagerColor.ConstantColor; SpecialPixel: TYPE ~ ImagerDitheredDevice.SpecialPixel; MakeSpecialColor: PROC [ordinaryColor: ConstantColor, specialPixel: SpecialPixel] RETURNS [ConstantColor]; END. –ImagerDitherContext.mesa Copyright c 1985, 1986 by Xerox Corporation. All rights reserved. Michael Plass, July 3, 1985 11:27:38 am PDT Doug Wyatt, March 19, 1986 11:58:17 am PST Modifying Dithering Maps Treat this as immutable. Fast if mapEntries have been loaded recently. Does not change the display's color map; see ImagerColorMap.LoadEntries NOT subject to DoSave, so should be used with caution when dealing with Viewers. NOP for non-dithered contexts. Fast if mapEntries have been loaded recently. Does not change the display's color map; see ImagerColorMap.LoadEntries Channel Value Colors RECORD [value: Terminal.ChannelValue, dstFunc: PrincOps.DstFunc]; For color map animation; sets a color that will cause the value to be stored in the frame with the specified dstFunc. Will act like ordinaryColor on other devices. The client is responsible for making sure the color map is set up appropriately. ΚL˜codešœ™Kšœ Οmœ7™BK™+K™*—K˜šΟk ˜ Kšœžœ ˜Kšœ žœ˜"Kšœžœ ˜ Kšœžœ˜*—K˜KšΠlnœžœž ˜&Kšœž˜head™šœ žœžœžœ˜3K™K˜—šΟn œžœ3˜EKšœ-™-KšœG™GK™PK™K™—š œžœ;žœ˜VKšœ-™-KšœG™G——šœ™šœžœ˜0K˜—šœžœ%˜7Kšžœ;™AK˜—š œžœ<žœ˜jKšœυ™υK˜——Kšžœ˜—…—rT