DIRECTORY II USING [Context], IIColorDefs USING [ConstantColor], IIColorMap USING [MapEntry], IIDitheredDevice USING [SpecialPixel]; IIDitherContext: CEDAR DEFINITIONS ~ BEGIN MapEntries: TYPE ~ LIST OF IIColorMap.MapEntry; SetDitherMap: PROC [context: II.Context, mapEntries: MapEntries]; DoWithDitherMap: PROC [context: II.Context, mapEntries: MapEntries, action: PROC]; ConstantColor: TYPE ~ IIColorDefs.ConstantColor; SpecialPixel: TYPE ~ IIDitheredDevice.SpecialPixel; MakeSpecialColor: PROC [ordinaryColor: ConstantColor, specialPixel: SpecialPixel] RETURNS [ConstantColor]; END. dImagerDitherContext.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Michael Plass, July 3, 1985 11:27:38 am PDT 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. ÊI˜codešœ™Kšœ Ïmœ1™