Description
Sets the blend shape of this linear gradient
brush to create a custom blend based on a triangular shape.
Syntax
GpStatus WINGDIPAPI GdipSetLineLinearBlend(
GpLineGradient
*brush,
REAL focus,
REAL scale
);
PowerBASIC Syntax
DECLARE FUNCTION GdipSetLineLinearBlend ( _
BYVAL brush AS
DWORD, _
BYVAL pFocus AS
SINGLE, _
BYVAL pScale AS
SINGLE _
) AS LONG
Parameters
brush
[in] Pointer to the
LinearGradientBrush
object.
focus
[in] Real number 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] Simple 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.
|