ImagerRaster.mesa
Copyright © 1984 Xerox Corporation. All rights reserved.
Doug Wyatt, November 30, 1984 2:32:55 pm PST
DIRECTORY
Imager USING [Class, Context],
ImagerDevice USING [Device],
Vector2 USING [VEC];
ImagerRaster: CEDAR DEFINITIONS
~ BEGIN
Context: TYPE ~ Imager.Context;
VEC: TYPE ~ Vector2.VEC;
CreateClass: PROC[type: ATOM] RETURNS[Imager.Class];
Create: PROC[device: ImagerDevice.Device] RETURNS[Context];
ViewReset:
PROC[context: Context];
ViewClipRectangle:
PROC[context: Context, x, y, w, h:
INTEGER];
ViewExcludeRectangle:
PROC[context: Context, x, y, w, h:
INTEGER];
coordinates relative to current view origin
ViewTranslate: PROC[context: Context, x, y: INTEGER];
ClientFromView: PROC[context: Context, p: VEC] RETURNS[VEC];
ViewFromClient: PROC[context: Context, p: VEC] RETURNS[VEC];
ClientFromDevice: PROC[context: Context, p: VEC] RETURNS[VEC];
DeviceFromClient: PROC[context: Context, p: VEC] RETURNS[VEC];
END.