G3dRenderWithImager.mesa
Last Edited by: Crow, May 16, 1989 9:35:43 am PDT
DIRECTORY G3dRender, Imager, Rope;
Types
Context: TYPE ~ G3dRender.Context;
ContextProc: TYPE ~ G3dRender.ContextProc;
ImagerProc: TYPE ~ G3dRender.ImagerProc;
Pair: TYPE ~ G3dRender.Pair;
PairSequence: TYPE ~ G3dRender.PairSequence;
Patch: TYPE ~ G3dRender.Patch;
PatchProc: TYPE ~ G3dRender.PatchProc;
Pixel: TYPE ~ G3dRender.Pixel;
RGB: TYPE ~ G3dRender.RGB;
RopeProc: TYPE ~ G3dRender.RopeProc;
Triple: TYPE ~ G3dRender.Triple;
ROPE: TYPE ~ Rope.ROPE;
Low-level drawing
Imager2DLine:
PROC [context: Context, p1, p2: Pair, color: Pixel];
Draw a line using the imager.
SetQuickLines:
PROC[ imagerCtx: Imager.Context, color: Pixel];
Set up direct draw of series of constant color lines
DoQuickLine:
PROC[ imagerCtx: Imager.Context, p1, p2: Pair];
Do direct draw of constant color line
Imager2DPoly:
PROC [context: Context, poly: PairSequence, color: Pixel];
Draw a constant shade polygon using the imager.
ImagerPolygon: PatchProc;
Draw a constant shade polygon using the imager.
Draw2DRope: RopeProc;
Put a string of characters on the screen.
DrawThroughViewer:
PROC [context: Context, drawProc: ImagerProc ];
Draws into imager context through viewers.