BCGSuite for MFC
void CBCGPBrush::SetLinearGradientStops ( const CBCGPBrushGradientStops &  stops,
const CBCGPGradientPoint &  pt1,
const CBCGPGradientPoint &  pt2,
const CBCGPTransformsArray &  arTransforms,
BCGP_GRADIENT_EXTEND_MODE  extendMode = BCGP_GRADIENT_EXTEND_MODE_CLAMP 
)

Sets the linear gradient stops.

Parameters
stopsArray of the gradient stops.
pt1The first point.
pt2The second point.
arTransformsArray of the transformation matricies.
extendModeThe extend mode.