All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

NextPrevUpTopContentsIndex

make-sub-image

Function
Summary

Makes a new image from part of an image.

Package

graphics-ports

Signature

make-sub-image port image &optional x y width height
=> sub-image

Arguments

port

A graphics port.

image

An image.

x

An integer.

y

An integer.

width

An integer.

height

An integer.

Values

sub-image

An image.

Description

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 .

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 .

See also

image
Drawing - Graphics Ports
Drag and Drop


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex