ImagerPrintDevice.mesa
Copyright Ó 1990, 1991 by Xerox Corporation. All rights reserved.
Michael Plass, August 21, 1990 10:39:09 am PDT
Access to device data for an ImagerPrintColor context.
Catapano, August 21, 1990 10:52 am PDT
DIRECTORY
ImagerDevice USING [Device],
ImagerPrintColor USING [DeviceColorData],
ImagerSample USING [SampleMap];
ImagerPrintDevice: CEDAR DEFINITIONS
~
BEGIN
IsPrintDevice:
PROC [device: ImagerDevice.Device]
RETURNS [
BOOL];
The following operations are not helpful unless the device is the right kind.
GetColorData: PROC [device: ImagerDevice.Device] RETURNS [ImagerPrintColor.DeviceColorData];
SetColorData:
PROC [device: ImagerDevice.Device, deviceColorData: ImagerPrintColor.DeviceColorData];
GetDeviceBitmap: PROC [device: ImagerDevice.Device] RETURNS [ImagerSample.SampleMap];
SetDeviceBitmap:
PROC [device: ImagerDevice.Device, bitmap: ImagerSample.SampleMap];
SetDeviceBitmap is not permitted to change the size of the bitmap; must go though ImagerPrintContext.SetBitmap to do that.
END.