VariablePackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version