Init:
PROC[] =
BEGIN
rect: CD.ObPtr;
procs: REF CD.ObjectProcs;
size: CD.DesignPosition ← [1, 1];
rect ← CDRects.CreateBareRect[size, 1];
TRUSTED {procs ← LOOPHOLE[rect.p];}; -- make pointer readable
CDObjectProcs.StoreFurther[procs, $StretchProc, RectStretchRef];
rect ← CDRects.CreateSaveRect[size, 1];
TRUSTED {procs ← LOOPHOLE[rect.p];}; -- make pointer readable
CDObjectProcs.StoreFurther[procs, $StretchProc, RectStretchRef];
END;