|
Action:
|
Writes a view to a file in PostScript format.
|
|
|
Filename:
|
gi/gi_scm/dl_scm.cxx
|
|
|
Syntax:
|
(dl:postscript [filename=plotfile.ps] [color=#f]
|
|
|
[x-size y-size] [view=active])
|
|
|
Arg Types:
|
filename
|
string
|
|
color
|
boolean
|
|
x-size
|
real
|
|
y-size
|
real
|
|
view
|
view
|
|
|
Returns:
|
string
|
|
|
Description:
|
The optional
filename specifies where to send the image. If
filename is not specified, the image is sent to the default filename,
plotfile.ps. The optional
color specifies a logical (TRUE or
FALSE); the default is
FALSE. The optional
x-size defines the x-value in pixel dots per inch. The optional
x-size and y-size specify the dimensions in millimeters of a rectangle into which you want the printed image of the viewport to fit as tightly as possible without distortion. The optional
view defines the view to save the image file; the default is the active view.
|
|
|
This extension returns the
filename in a string.
dl:postscript sends the wireframe image to the output file, while
render:postscript renders the image sent to the output file. A display item is not part of the model and does not get saved and restored.
|
|
|
Example:
|
; dl:postscript
|
|
; Write a view to the default file
|
|
; in PostScript format.
|
|
(dl:postscript)
|
|
;; "plotfile.ps"
|
|
; Write a view to the test.ps file with a specified
|
|
; x-size and y-size in PostScript format.
|
|
(dl:postscript "test.ps" 1500 1500)
|
|
;; "test.ps"
|