| BOOL CBCGPDrawManager::DrawGradientRing | ( | CRect | rect, |
| COLORREF | colorStart, | ||
| COLORREF | colorFinish, | ||
| COLORREF | colorBorder, | ||
| int | nAngle, | ||
| int | nWidth, | ||
| COLORREF | clrFace = (COLORREF)-1 |
||
| ) |
Fills a ring with gradient color.
Call this function to display a ring filled by the gradient color. The width and height of the specified rectangle must be greater than 4 pixels.
| rect | Specifies a rectangular area to fill. |
| colorStart | Specifies the color to start. |
| colorFinish | Specifies the color to finish. |
| colorBorder | Specifies the border color. |
| nAngle | Specifies the angle to start from. This value should be within 0-360 interval. |
| nWidth | Specifies the width of the rings' border. |
| clrFace | Specifies the color of the rings' interior. |