Makes an image out of a specified rectangle of a graphics port's contents.
Package
graphics-ports
Signature
make-image-from-port
port
&optional
x
y
width
height
=>
image
Arguments
port
A graphics port.
x
An integer.
y
An integer.
width
An integer.
height
An integer.
Values
image
An image.
Description
The
make-image-from-port
function makes an image out of the specified rectangle of the port's contents. The default is the whole port, but a region can be specified using
x, y, width,
and
height
. The default value of
x
and
y
is 0.