ImagerCommon.mesa
Copyright Ó 1987 by Xerox Corporation. All rights reserved.
Doug Wyatt, August 17, 1987 4:16:08 pm PDT
Common low-level Imager interface for Interpress and PostScript.
DIRECTORY
ImagerColor USING [ConstantColor],
ImagerPath USING [PathProc];
ImagerCommon: CEDAR DEFINITIONS ~ {
Ref: TYPE ~ REF Rep;
Rep: TYPE;
SetColor: PROC [self: Ref, color: ImagerColor.ConstantColor];
OutlineProc: TYPE ~ PROC [path: ImagerPath.PathProc, oddWrap: BOOL];
SetClipper: PROC [self: Ref, outlines: PROC [OutlineProc]];
Fill: PROC [self: Ref, path: ImagerPath.PathProc, oddWrap: BOOL];
Stroke: PROC [self: Ref, path: ImagerPath.PathProc, width: REAL, cap: LineCap, join: LineJoin];
Show: PROC [self: Ref,
color: ImagerColor.ConstantColor,
string: ImagerFont.XStringProc,
font: ImagerFont.Font,
startPosition: VEC
] RETURNS [endPosition: VEC];
}.