




 
A graphics port.
A graphics port.
A real number.
A real number.
A real number.
A real number.
A real number.
A real number.
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.