ImagerExtrasImpl.mesa
Last edited by:
Doug Wyatt, March 3, 1984 5:32:20 pm PST
DIRECTORY
Imager USING [Color, Context, FONT, PixelArray, ShowCharacters, Transformation],
ImagerExtras USING [];
ImagerExtrasImpl: CEDAR PROGRAM
IMPORTS Imager
EXPORTS ImagerExtras
~ BEGIN OPEN Imager;
MakeSampledColor: PUBLIC PROC[pa: PixelArray, um: Transformation,
colorOperator: REF] RETURNS[Color] ~ { ERROR };
MakeSampledBlack: PUBLIC PROC[pa: PixelArray, um: Transformation,
clear: BOOL] RETURNS[Color] ~ { ERROR };
MaskTrapezoidX: PUBLIC PROC[context: Context, x1, y1, x2, x3, y3, x4: REAL] ~ { ERROR };
MaskTrapezoidY: PUBLIC PROC[context: Context, x1, y1, y2, x3, y3, y4: REAL] ~ { ERROR };
ShowChar: PUBLIC PROC[context: Context, code: CARDINAL, font: FONTNIL] ~ { ERROR };
Show: PUBLIC PROC[context: Context, text: REF TEXT] ~ {
Imager.ShowCharacters[context, text];
};
ShowAndXRel: PUBLIC PROC[context: Context, text: REF TEXT] ~ { ERROR };
END.