VariablePackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

*color-gradient-filling*

This variable has an effect only on the Windows platform.

When this variable is true, filling functions such as fill-ellipse and fill-polygon will fill an area with a color gradient for a highlighted or three-dimensional effect.

This technique varies the lightness of the color gradually from one side of the filled area to the other. The particular way that the lightness varies can be controlled with the variables *color-gradient-intensity*, *color-gradient-direction*, and *color-gradient-blend*.

The default value is nil. Typically you would bind this variable to true around a block of drawing code where gradient filling is desired. It is probably not a good idea to globally set this variable to true, because gradient filling is usually not desirable absolutely everywhere.

As a special case, erase-contents-box and erase-contents-box-x-y will bind this variable to nil to prevent default redisplay-window methods from clearing the background of windows with a gradient effect, even if this variable is globally true.

For gradient filling in chart and plot widgets, see body-gradient-filling, icon-gradient-filling, and bar-gradient-filling.

See *antialiasing* for another appearance-enhancing effect.


Copyright (c) 1998-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 9.0. This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version