XlBitmapFriends.mesa
Copyright Ó 1991, 1992 by Xerox Corporation. All rights reserved.
Created by Christian Jacobi, October 10, 1991 3:45:59 pm PDT
Christian Jacobi, December 16, 1992 11:16 am PST
Semi private internal definitions which allow to offload implementation of specific imager devices from XlBitmapImagerImpl.
DIRECTORY
Imager USING [Context],
ImagerSample USING [RasterSampleMap];
XlBitmapFriends: CEDAR DEFINITIONS =
BEGIN
ContextCreator: TYPE = PROC [sm: ImagerSample.RasterSampleMap, surfaceUnitsPerPixel: NAT ¬ 1, extras: REF ANY] RETURNS [context: Imager.Context];
extras is useful for colormap
RegisterContextCreator: PROC [bpp: INT, creator: ContextCreator];
END.