| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
This variable has an effect only on the Windows platform.
When this variable is true, drawing and filling functions such as draw-line, draw-ellipse, and fill-polygon will draw straight and curved lines and edges using antialiasing. And draw-string-in-box will draw antialiased text.
This technique produces smoother-looking lines and edges by using a variety of colors for edge pixels to interpolate between the foreground and background colors.
The default value is nil
. Typically you
would bind this variable to true around a block of drawing code where
antialiasing is desired. Or this variable could simply be set to true
if the effect is desired everywhere.
Caveats: Antialiased drawing is generally somewhat slower than otherwise, though not by a lot with a decent video adapter. Antialiased text looks fuzzier than non-antialiased, though is perhaps easier on the eyes. Antialiasing appears to have no effect on non-TrueType fonts.
You can't feasibly bind this variable around the drawing of widgets, which draw themselves asynchronously, so some widgets that are drawn by Lisp provide the antialias-lines and antialias-text properties for this.
See *color-gradient-filling*
and *alpha-blending*
for
other appearance-enhancing effects.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |