Next Previous Up Top Contents Index

2 GP Reference Entries

copy-pixels

Function

Summary

Copies a rectangular area from one port to another.
Signature

copy-pixels to-port from-port to-x to-y width height from-x
            from-y &rest args => 

Arguments

to-port

A graphics port

from-port

A graphics port

to-x

A real number

to-y

A real number

width

A real number

height

A real number

from-x

A real number

from-y

A real number

Description

Thecopy-pixels function copies a rectangular area from one port to another. Thetransform,mask,mask-x andmask-y from the to-port's graphics state are used. The (to-x to-y) is transformed according to to-port's transform, but the image is not scaled or rotated. The to-port and from-port need not be the same depth and can be the same object. The from-x and from-y values are interpreted as pixel positions in the window coordinates of from-port, that is, they are not transformed by from-port's transform.

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker