Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

copy-to-pixmap

Generic function

Summary

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

Signature

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

Arguments

medium
An instance of type <medium>.

medium-x
An instance of type <coordinate>.

medium-y
An instance of type <coordinate>.

width
An instance of type <integer>.

height
An instance of type <integer>.

pixmap
An instance of type <pixmap>.

pixmap-x
An instance of type <coordinate>.

pixmap-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 (medium-x,medium-y) into pixmap at the position specified by (pixmap-x,pixmap-y). A rectangle whose width and height is specified by width and height is copied. If medium is a medium or a stream, then medium-x and medium-y are transformed by the user transformation. The copying must be done by medium-copy-copy.

If pixmap is not supplied, a new pixmap will be allocated.

See also

copy-area, page 408

copy-from-pixmap, page 409


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index