ClassRep:
TYPE ~
RECORD[
type: ATOM,
DoSave: PROC[context: Context, body: PROC] ←,
DoSaveAll: PROC[context: Context, body: PROC] ←,
SetRef: PROC[context: Context, key: Key, value: REF] ←,
SetReal: PROC[context: Context, key: Key, value: REAL] ←,
SetInt: PROC[context: Context, key: Key, value: INT] ←,
GetRef: PROC[context: Context, key: Key] RETURNS[REF] ←,
GetReal: PROC[context: Context, key: Key] RETURNS[REAL] ←,
GetInt: PROC[context: Context, key: Key] RETURNS[INT] ←,
ConcatT: PROC[context: Context, m: Transformation] ←,
Scale2T: PROC[context: Context, sx, sy: REAL] ←,
RotateT: PROC[context: Context, a: REAL] ←,
TranslateT: PROC[context: Context, x, y: REAL] ←,
Move: PROC[context: Context] ←,
Trans: PROC[context: Context] ←,
SetFont: PROC[context: Context, font: FONT] ←,
ShowRope: PROC[context: Context, rope: ROPE, start, len: INT] ←,
ShowText: PROC[context: Context, text: REF READONLY TEXT, start, len: NAT] ←,
ShowCharCode: PROC[context: Context, charCode: CARDINAL] ←,
SetXY: PROC[context: Context, p: Pair] ←,
SetXYI: PROC[context: Context, x, y: INTEGER] ←,
SetXYRel: PROC[context: Context, v: Pair] ←,
SetXYRelI: PROC[context: Context, x, y: INTEGER] ←,
GetCP: PROC[context: Context] RETURNS[Pair] ←,
MaskFill: PROC[context: Context, pathProc: PathProc, pathData: REF] ←,
MaskStroke: PROC[context: Context, pathProc: PathProc, pathData: REF, closed: BOOL] ←,
MaskRectangle: PROC[context: Context, x, y, w, h: REAL] ←,
MaskRectangleI: PROC[context: Context, x, y, w, h: INTEGER] ←,
MaskVector: PROC[context: Context, p1, p2: Pair] ←,
MaskVectorI: PROC[context: Context, x1, y1, x2, y2: INTEGER] ←,
StartUnderline: PROC[context: Context] ←,
MaskUnderline: PROC[context: Context, dy, h: REAL] ←,
MaskUnderlineI: PROC[context: Context, dy, h: INTEGER] ←,
MaskPixel: PROC[context: Context, pa: PixelArray] ←,
SetColor: PROC[context: Context, color: Color] ←,
SetGray: PROC[context: Context, f: REAL] ←,
SetSampledColor: PROC[context: Context, pa: PixelArray, pixelT: Transformation, colorOperator: ATOM] ←,
SetSampledBlack: PROC[context: Context, pa: PixelArray, pixelT: Transformation, transparent: BOOL] ←,
ClipOutline: PROC[context: Context, pathProc: PathProc, pathData: REF, exclude: BOOL] ←,
ClipRectangle: PROC[context: Context, x, y, w, h: REAL, exclude: BOOL] ←,
ClipRectangleI: PROC[context: Context, x, y, w, h: INTEGER, exclude: BOOL] ←,
CorrectMask: PROC[context: Context] ←,
CorrectSpace: PROC[context: Context, v: Pair] ←,
Correct: PROC[context: Context, body: PROC] ←,
SetCorrectMeasure: PROC[context: Context, v: Pair] ←,
SetCorrectTolerance: PROC[context: Context, v: Pair] ←,
Space: PROC[context: Context, x: REAL] ←,
SpaceI: PROC[context: Context, x: INTEGER] ←,
props: Prop.PropList ← NIL
];