ImagerDisplay.mesa
Copyright © 1984 Xerox Corporation. All rights reserved.
Doug Wyatt, October 12, 1984 10:59:20 am PDT
DIRECTORY
Imager USING [Context],
Terminal USING [Virtual],
Vector2 USING [VEC];
ImagerDisplay: CEDAR DEFINITIONS
~ BEGIN
Context: TYPE ~ Imager.Context;
VEC: TYPE ~ Vector2.VEC;
DisplayType: TYPE ~ {nil, bw, color};
ContextFromTerminal: PROC[vt: Terminal.Virtual, display: DisplayType] RETURNS[Context];
ViewReset: PROC[context: Context];
ViewClip: PROC[context: Context, x, y, w, h: INTEGER];
ViewExclude: 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];
END.