|
Gri Commands
|
12.19: The `
|
`input \ps_filename \
[.xcm. .ycm. \
[.xmag. .ymag. \
[.rot_deg.]]]'
|
Input the named PostScript file directly into the Gri output PostScript
file. (If the filename has punctuation, insert it in double quotes,
e.g. `input "../thefile"'.) If no options are specified, the file
is input at normal scale, with normal margins. (Aside to PostScript
programmers: the named file is sandwiched between `gsave' and
`grestore' commands.) If `.xcm.' and `.ycm.' are
specified, then the origin is moved to the named location first. If, in
addition, `.xmag.' and `.ymag.' are specified, then these are
used as scale factors after translation. Finally, if `.rot_deg.'
is specified in addition, then the indicated counterclockwise rotation
is applied after translation and scaling. Hint: if the results look
wrong, the first thing to do is to think carefully about the order of
the (translation, scaling, rotation) operations.