Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

copy-area

Generic function

Summary

Copies a rectangle of pixels from a specified medium to the same medium.

Signature

copy-area medium from-x from-y width height to-x to-y #key function => ()

Arguments

medium
An instance of type <medium>.

from-x
An instance of type <coordinate>.

from-y
An instance of type <coordinate>.

width
An instance of type <integer>.

height
An instance of type <integer>.

to-x
An instance of type <coordinate>.

to-y
An instance of type <coordinate>.

function
An instance of type <function>. Default value: $boole-1.

Values

None

Library

duim-graphics

Module

duim-graphics

Description

Copies the pixels from the medium starting at the position specified by (from-x, from-y) to the position (to-x, to-y) on the same medium. A rectangle whose width and height is specified by width and height is copied. If medium is a medium or a stream, then the x and y values are transformed by the user transformation. The copying must be done by medium-copy-copy.

See also

copy-from-pixmap, page 409

copy-to-pixmap, page 410


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index