GraphConvert.mesa, Copyright © 1985 by Xerox Corporation. All rights reserved.
Last edited:
Sweetsun Chen, October 10, 1985 9:50:56 pm PDT
DIRECTORY
Imager USING [VEC],
ImagerFont USING [Font],
Graph USING [CaretIndex, Entity, EntityList, JustifX, JustifY, Mark, NullVec, ROPE, SegmentDataList, ValueList],
GraphPrivate USING [Angle, Operand];
GraphConvert: CEDAR DEFINITIONS = { OPEN Graph, GraphPrivate;
RopeOfPlace: PROC [p: Imager.VEC ← NullVec] RETURNS [s: ROPENIL];
RopeSize: PROC [rope: ROPENIL, font: ImagerFont.Font ← NIL] RETURNS[w, h: REAL ← 0.0];
RopeOfSlope: PROC [p1, p2: Imager.VEC ← NullVec] RETURNS [s: ROPENIL];
RopeFromJustifX: PROC [justifX: JustifX] RETURNS [ROPE];
JustifXFromRope: PROC [jRope: ROPE] RETURNS [JustifX];
RopeFromJustifY: PROC [justifY: JustifY] RETURNS [ROPE];
JustifYFromRope: PROC [jRope: ROPE] RETURNS [JustifY];
RopeFromMark: PROC [mark: Mark] RETURNS [ROPE];
CharRopeFromMark: PROC [mark: Mark] RETURNS [ROPE];
MarkFromRope: PROC [mRope: ROPE] RETURNS [Mark];
RopeFromOperand: PROC [op: Operand] RETURNS [ROPE];
OperandFromRope: PROC [rOp: ROPE] RETURNS [Operand];
RopeFromAngle: PROC [angle: Angle] RETURNS [ROPE];
AngleFromRope: PROC [rA: ROPE] RETURNS [Angle];
RopeFromCaretIndex: PROC [index: CaretIndex ← primary] RETURNS [r: ROPENIL];
RopeFromValueList: PROC [vector: ValueList ← NIL] RETURNS [r: ROPENIL];
RopeFromSDL: PUBLIC PROC[segmentDataList: SegmentDataList ← NIL] RETURNS [r: ROPENIL];
ValueListFromRope: PROC [r: ROPENIL] RETURNS [vector: ValueList ← NIL, length, pos: INT ← 0];
RopeOfEntityListIds: PROC [entityList: EntityList ← NIL, exclude: Entity ← NIL] RETURNS [r: ROPENIL];
}.
LOG.
SChen, created at October 9, 1985 6:00:24 pm PDT