class TGopFadeParams |
Specifies the amount of fading for all the pixels in a rectangular area.
Fading changes colours so that they are closer to white or closer to black. To make colours whiter, increase iOffset; to use a smaller range of colours, reduce iScale. Fading uses the following formula (where C is a red, green or blue value in a TRgb ):
colour component C = ( ( iScale * C ) / 256 )+iOffset;
to fade to white, specify iScale=128, iOffset=128
to fade to black, specify iScale=128, iOffset=0
for no change, specify iScale=256, iOffset=0
An object of this class is specified when constructing a TGopFadeRect .
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.