<> <> <> DIRECTORY Imager, IO, Rope, Vector2; Draw2d: CEDAR DEFINITIONS ~ BEGIN VEC: TYPE ~ Vector2.VEC; MarkType: TYPE ~ {cross, x, asterisk, dot, none}; DrawType: TYPE ~ {solid, dash, dot}; InitFont: PROC [context: Imager.Context]; <> <<>> Label: PROC [context: Imager.Context, p: VEC, rope: Rope.ROPE]; <> <<>> DoWithBuffer: PROC [context: Imager.Context, action: PROC, w, h: INTEGER]; <> <<>> DoNoBuffer: PROC [context: Imager.Context, action: PROC, w, h: INTEGER]; <> <<>> ShowList: PUBLIC PROC [list: LIST OF Vector2.VEC, context: Imager.Context]; <> <<>> ClearContext: PROC [context: Imager.Context, x, y, w, h: INTEGER]; <> <<>> Mark: PROC [context: Imager.Context, p: VEC, type: MarkType _ cross]; <> <<>> Draw: PROC [context: Imager.Context, p0, p1: VEC, type: DrawType _ solid]; <> <<>> Solid: PROC [context: Imager.Context, p0, p1: Vector2.VEC]; <> <<>> Dot: PROC [context: Imager.Context, p0, p1: Vector2.VEC]; <> <<>> Dash: PROC [context: Imager.Context, p0, p1: Vector2.VEC]; <> <<>> Arrow: PROC [context: Imager.Context, head, tail: Vector2.VEC]; <> <<>> Square: PROC [context: Imager.Context, x, y, size: REAL]; <> <<>> Debug: PROC [s: IO.STREAM]; <> <<>> END.