VariablePackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
This page is new in 8.2.

*antialiasing*

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* for another appearance-enhancing effects.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 8.2 release.
Created 2016.6.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
This page is new in 8.2.