CChartGradient Class Reference

Helper class to draw gradient. More...

#include <ChartGradient.h>

List of all members.

Public Member Functions

 CChartGradient ()
 Constructor.
 ~CChartGradient ()
 Destructor.

Static Public Member Functions

static void DrawGradient (CDC *pDC, const CRect &GradientRect, COLORREF Color1, COLORREF Color2, EGradientType GradientType)
 Draws a gradient between two colors inside a rectangle.


Detailed Description

Helper class to draw gradient.

It only contains a static function to draw the gradient. This is mainly used internally.


Member Function Documentation

void CChartGradient::DrawGradient ( CDC *  pDC,
const CRect &  GradientRect,
COLORREF  Color1,
COLORREF  Color2,
EGradientType  GradientType 
) [static]

Draws a gradient between two colors inside a rectangle.

Parameters:
pDC The device context with which to draw.
GradientRect The rectangle in which to draw the gradient
Color1 The first gradient color
Color2 The second gradient color
GradientType The type of gradient to use in the rectangle


The documentation for this class was generated from the following files:

Generated on Sun Jan 17 13:33:11 2010 for ChartDemo by  doxygen 1.5.8