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

*color-gradient-intensity*

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-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