GdipSetLineSigmaBlend

 

 

Description

Sets the blend shape of this linear gradient brush to create a custom blend based on a bell-shaped curve.

Syntax

GpStatus WINGDIPAPI GdipSetLineSigmaBlend(

    GpLineGradient *brush,

    REAL focus,

    REAL scale

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetLineSigmaBlend ( _

    BYVAL brush AS DWORD, _

    BYVAL pFocus AS SINGLE, _

    BYVAL pScale AS SINGLE _

) AS LONG

Parameters

 

brush

[in] Pointer to the LinearGradientBrush object.

focus

[in] Single precision value that specifies the position of the ending color. This number is a percentage of the distance between the boundary lines and must be in the range from 0.0 through 1.0.

scale

[in] Single precision value that specifies the percentage of the gradient's ending color that gets blended, at the focus position, with the gradient's starting color. This number must be in the range from 0.0 through 1.0. The default value is 1.0, which specifies that the ending color is at full intensity.

 

Valid HTML 4.01 Transitional