ImagerView.mesa
Copyright © 1984 Xerox Corporation. All rights reserved.
Doug Wyatt, October 17, 1984 11:21:58 am PDT
DIRECTORY
Imager USING [Context],
Vector2 USING [VEC];
ImagerView: CEDAR DEFINITIONS
~ BEGIN
Context: TYPE ~ Imager.Context;
VEC: TYPE ~ Vector2.VEC;
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.