ClassRep:
TYPE ~
RECORD[
type: ATOM,
SetT: PROC[context: Context, m: Transformation],
SetFont: PROC[context: Context, font: Font],
SetColor: PROC[context: Context, color: Color],
SetClipper: PROC[context: Context, clipper: Clipper],
SetReal: PROC[context: Context, key: RealKey, value: REAL],
SetInt: PROC[context: Context, key: IntKey, value: INT],
GetT: PROC[context: Context] RETURNS[Transformation],
GetFont: PROC[context: Context] RETURNS[Font],
GetColor: PROC[context: Context] RETURNS[Color],
GetClipper: PROC[context: Context] RETURNS[Clipper],
GetReal: PROC[context: Context, key: RealKey] RETURNS[REAL],
GetInt: PROC[context: Context, key: IntKey] RETURNS[INT],
DoSave: PROC[context: Context, action: PROC],
DoSaveAll: PROC[context: Context, action: PROC],
ConcatT: PROC[context: Context, m: Transformation],
Scale2T: PROC[context: Context, s: VEC],
RotateT: PROC[context: Context, a: REAL],
TranslateT: PROC[context: Context, t: VEC],
Move: PROC[context: Context],
Trans: PROC[context: Context],
SetGray: PROC[context: Context, f: REAL],
SetSampledColor: PROC[context: Context, pa: PixelArray,
m: Transformation, colorOperator: ColorOperator],
MaskFill: PROC[context: Context, pathProc: PathProc, pathData: REF, parity: BOOL],
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: VEC],
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],
MaskBits: PROC[context: Context, base: LONG POINTER, wordsPerLine: NAT,
sMin, fMin, sSize, fSize: NAT, sOffset, fOffset: INTEGER],
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],
SetXY: PROC[context: Context, p: VEC],
SetXYI: PROC[context: Context, x, y: INTEGER],
SetXYRel: PROC[context: Context, v: VEC],
SetXYRelI: PROC[context: Context, x, y: INTEGER],
GetCP: PROC[context: Context, round: BOOL] RETURNS[VEC],
Show: PROC[context: Context, chars: PROC[PROC[Char]], xrel: BOOL],
CorrectMask: PROC[context: Context],
CorrectSpace: PROC[context: Context, v: VEC],
Space: PROC[context: Context, x: REAL],
SpaceI: PROC[context: Context, x: INTEGER],
SetCorrectMeasure: PROC[context: Context, v: VEC],
SetCorrectTolerance: PROC[context: Context, v: VEC],
Correct: PROC[context: Context, action: PROC],
props: Prop.PropList ← NIL
];