There are two possible values for a port's drawing-mode :
:quality
causes all drawing operations to make full use of the graphics port
transform
. In particular, text, images and ellipses are scaled and rotated and coordinates are treated as floating point rather than being rounded to the nearest integer. It also supports anti-aliasing and alpha blending.
operation
is not supported in this mode, but
compositing-mode
is supported (see below).
On Microsoft Windows
:quality
uses GDI+.
On GTK+
:quality
uses Cairo, which is available in GTK+ version 2.8 and later.
:compatible
generates the same output as previous versions of LispWorks. Text and images are not scaled or rotated, ellipses are not rotated correctly and other shapes are drawn as if the drawing function was called with transformed coordinates
In most cases the drawing mode defaults to
:quality
so the output of your program may differ from LispWorks 6.0.
Note:
gp:pixblt
,
gp:clear-rectangle
and the graphics state parameters
mask-x
and
mask-y
are all deprecated. For alternatives see copy-area added, pixblt deprecated and the sections immediately following it.
To use the old drawing mode, do for example:
(make-instance 'capi:output-pane :drawing-mode :compatible ...)
For more information see "Drawing mode and anti-aliasing" in the CAPI User Guide .
LispWorks Release Notes and Installation Guide - 23 Dec 2011