Group: GDI+ PathGradient Brush - Library: gdiplus
Creates a PathGradient Brush object based on an array of points. Initializes the wrap mode of the path gradient brush.
GpStatus WINGDIPAPI GdipCreatePathGradientI(
GDIPCONST GpPoint* points,
INT count,
GpWrapMode wrapMode,
GpPathGradient **polyGradient) DECLARE INTEGER GdipCreatePathGradientI IN gdiplus;
STRING @points,;
INTEGER pointcount,;
INTEGER wrapMode,;
INTEGER @polyGradient points [in] Pointer to an array of points that specifies the boundary path of the path gradient brush.
count [in] Integer that specifies the number of elements in the points array.
wrapMode [in] Element of the WrapMode enumeration (0 to 4) that specifies how areas painted with the path gradient brush will be tiled.
brush [out] Handle of the brush object.
Returns 0 on success.
When you no longer need the handle, call the GdipDeleteBrush function.
Home