LispWorks CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

copy-pixels

Function
Summary

Copies a rectangular area from one port to another.

Package

graphics-ports

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

The copy-pixels function copies a rectangular area from one port to another. The transform , mask , mask-x and mask-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 - 21 Dec 2009

NextPrevUpTopContentsIndex