Makes a new image from part of an image.
graphics-ports
make-sub-image port image &optional x y width height => sub-image
port⇩ |
A graphics port. |
image⇩ |
An image. |
x⇩ |
An integer. |
y⇩ |
An integer. |
width⇩ |
An integer. |
height⇩ |
An integer. |
sub-image |
An image. |
The function make-sub-image
makes a new image object from the rectangular region of the supplied image specified by x, y, width and height, for use with port.
The default values of x and y are 0.
The default value of width is the width of image.
The default value of height is the height of image.
image
make-scaled-sub-image
13 Drawing - Graphics Ports
17 Drag and Drop
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15