BCGControlBar Pro for MFC
CBCGPDrawManager

Detailed Description

The CBCGPDrawManager class maintains a code which implements complicated drawing algorithms. It can help to display shadows, highlight rectangles, fill gradients and perform alpha-blending.

To use the draw manager, just construct a CBCGPDrawManager object on the stack and pass a device context as a parameter.

Inherits CObject.

Public Member Functions

 CBCGPDrawManagerConstructs a CBCGPDrawManager object.
 
 DrawGradientRingFills a ring with gradient color.
 
 DrawShadowDraws the shadow for a rectangular screen element.
 
 FillGradientFills a rectangular area with the gradient color.
 
 FillGradient2Fills a rectangular area with the gradient color in the given direction.
 
 GetDCRetrieves device context associated with the drawing manager.
 
 GrayRectFills a rectangle by the gray color with a specified percentage.
 
 HighlightRectMakes a rectangular area highlighted.
 
 MirrorRectFlips a rectangular area horizontally.