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


This variable has an effect only on the Windows platform.

This variable controls the intensity of gradient filling when *color-gradient-filling* is true. The larger the value, the greater the difference there will be between the lightest and darkest shades that are drawn, for a more pronounced effect.

The value should be an integer between 0 and 255. The default value is 64.

When gradient filling is enabled, colors tend to come out darker than otherwise. If that's undesirable, then decreasing the value of this variable will decrease that effect. The reason is that the range of colors that's drawn is adjusted so the lightest shade has its lightest red, green, or blue component at its maximum value, with the other components at lower values to maintain the same hue; then each component of the darkest shade will be darker than those by the amount specified by this variable. This means that the average shade that's drawn will often be significantly darker than the original non-gradient shade, especially when it is a relatively light color.

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.

Allegro CL version 8.2
This page is new in 8.2.