| void CBCGPDrawManager::FillGradient | ( | CRect | rect, |
| COLORREF | colorStart, | ||
| COLORREF | colorFinish, | ||
| BOOL | bHorz = TRUE, |
||
| int | nStartFlatPercentage = 0, |
||
| int | nEndFlatPercentage = 0 |
||
| ) |
Fills a rectangular area with the gradient color.
| rect | Specifies a rectangular area to fill. |
| colorStart | Specifies the color to start. |
| colorFinish | Specifies the color to finish. |
| bHorz | TRUE - horizontal gradient, FALSE - vertical gradient. |
| nStartFlatPercentage | Specifies the percent of rectangle to be filled by "flat" colorStart. |
| nEndFlatPercentage | Specifies the percent of rectangle to be filled by "flat" colorFinish. |