void CBCGPDrawManager::FillGradient2 | ( | CRect | rect, |
COLORREF | colorStart, | ||
COLORREF | colorFinish, | ||
int | nAngle = 0 |
||
) |
Fills a rectangular area with the gradient color in the given direction.
Call this member function to fill a rectangular area with the gradient color in the direction specified by nAngel. The nAngel value should be in interval [0 - 360].
rect | Specifies the bounding rectangle of the area to fill. |
colorStart | RGB value of the color to start with. |
colorFinish | RGB value of the color to finish with. |
nAngle | The gradient direction. |