DIRECTORY G3dRender, Imager, Rope; G3dRenderWithImager: CEDAR DEFINITIONS ~ BEGIN 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; ClearViewPort: ContextProc; Imager2DLine: PROC [context: Context, p1, p2: Pair, color: Pixel]; SetQuickLines: PROC[ imagerCtx: Imager.Context, color: Pixel]; DoQuickLine: PROC[ imagerCtx: Imager.Context, p1, p2: Pair]; Imager2DPoly: PROC [context: Context, poly: PairSequence, color: Pixel]; ImagerPolygon: PatchProc; Draw2DRope: RopeProc; DrawThroughViewer: PROC [context: Context, drawProc: ImagerProc ]; MakeInterpressPage: PROC [context: Context, fileName: ROPE]; END. 4G3dRenderWithImager.mesa Last Edited by: Crow, May 16, 1989 9:35:43 am PDT Types Procedures for updating viewers Fills viewport with background color. Low-level drawing Draw a line using the imager. Set up direct draw of series of constant color lines Do direct draw of constant color line Draw a constant shade polygon using the imager. Draw a constant shade polygon using the imager. Put a string of characters on the screen. Draws into imager context through viewers. Frame Generation and Animation Save the interpress representation to a file. สฎ˜™J™1Idefaultšฯk œ˜"—head2šฯlะklžŸ ˜&Jšœ˜—headšž™Kšœ œ˜$Kšœœ˜+Jšœ œ˜)Kšœ œ˜Kšœœ˜,Jšœ œ˜!Jšœ œ˜'Kšœ œ˜!Jšœœ œ˜Jšœ œ˜&Kšœ œ˜"Kšœœœ˜—šะbl ™ šฯn œ˜J™%——š ™šก œœ/˜BJ™—šก œœ+˜>J™6—šก œœ+˜