ViewerToIP:
PROC [v: ViewerClasses.Viewer, file: Rope.
ROPE, version: Rope.
ROPE ←
NIL, pixelsPerInch:
REAL ← 72.0, pageSize: Vector2.
VEC ← [8.5, 11], clipChildren:
BOOLEAN ←
FALSE];
Creates an interpress master in file file, by `painting' the viewer into the master.
version refers to the version of Interpress in which to create the master. If version is not defaulted, should be of the form "2.1", for example.
pixelsPerInch is used to properly scale the context which will be fed to v's PaintProc. The default will cause the interpress master context to appear roughly like a full-sized left-column viewer.
pageSize specifies the image size in inches.
For images to be painted properly, clipChildren should be set to TRUE. In normal applications, however, setting it to FALSE enables repainting of the master in something less than geological time.