All Manuals > LispWorks Release Notes and Installation Guide > 13 Release Notes > 13.7 Other CAPI and Graphics Ports changes


13.7.6 copy-area added, pixblt deprecated

The function gp:pixblt is deprecated. This is because drawing-mode :quality does not support the operation argument and also because gp:pixblt ignores transforms which means it does not always work as expected. In particular, it can it can draw to the wrong coordinates inside the display-callback of capi:output-pane .

Use instead the new function gp:copy-area , which copies a rectangular area from one graphics port to another taking account of the transform.

See also the gp:graphics-state parameter compositing-mode for a way to control how gp:copy-area blends the source and the target.

LispWorks Release Notes and Installation Guide - 23 Dec 2011