DIRECTORY; ImagerBasic: CEDAR DEFINITIONS = BEGIN Vec: TYPE = RECORD [x, y: REAL]; IntVec: TYPE = RECORD [x, y: INTEGER]; Edge: TYPE = RECORD [a, b: Vec]; IntEdge: TYPE = RECORD [a, b: IntVec]; Rectangle: TYPE = RECORD [x, y, w, h: REAL]; IntRectangle: TYPE = RECORD [x, y, w, h: INTEGER]; ImagingDevice: TYPE = ATOM; -- i.e. $LF, $CRT8, $CRT24, $PD, $IP, etc. InteractiveImagingDevice: TYPE = ATOM; -- i.e. $LF, $CRT8, $CRT24 Visibility: TYPE = {visible, partlyVisible, invisible}; SourceType: TYPE = { black, white, constant, pixelarray, sampled, functional }; Path: TYPE = REF PathRep; PathRep: TYPE = RECORD [ generateProc: PROC [ path: Path, move: PROC [Vec], line: PROC [Vec], curve: PROC [Vec, Vec, Vec] ], data: REF ANY ]; StrokeEnds: TYPE = {butt, square, round}; Font: TYPE = REF; END. าImagerBasic.mesa This interface provides the public data structures shared by clients and the Imager. Last Edited by: Crow, June 18, 1983 11:41 am Basic Definitions (Numbers and Shapes) Context Devices Transformations Clipping Sources Paths A client of the Imager may keep a path representation in a form appropriate for its own use; it only needs to unravel it into a series of MoveTo, LineTo and CurveTo operations when it is asked. Masks Fonts Characters ส๎˜headšœ™J™TJ™šœ™Jšœ™—Iunitšฯk ˜ —šœ˜Jšœ˜—head3šฯb&™&Jšœœœœ˜ Jšœœœœ˜&Jšœœœ ˜ Jšœ œœ˜&Jšœ œœ œ˜,Jšœœœ œ˜2—Mšž™šž™Jšœœœฯc*˜GJšœœœŸ˜B—Mšž™šž™Lšœ œ'˜7—šž™Jšœ œ?˜O—šž™Jšœม™มLšœœœ ˜šœ œœ˜šœœ˜Jšœ ˜ Jšœœ˜Jšœœ˜Jšœœ˜Jšœ˜—Jšœœ˜ Jšœ˜——šž™Lšœ œ˜*—šž™Jšœœœ˜—šž ™ L˜—Lšœ˜—…—"โ