Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.35 KB

File metadata and controls

61 lines (42 loc) · 1.35 KB

Home

Function name : GdipCreatePathGradientI

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.


Code examples:

GDI+: creating a gradient

Declaration:

GpStatus WINGDIPAPI GdipCreatePathGradientI(
	GDIPCONST GpPoint* points,
	INT count,
	GpWrapMode wrapMode,
	GpPathGradient **polyGradient)  

FoxPro declaration:

DECLARE INTEGER GdipCreatePathGradientI IN gdiplus;
	STRING @points,;
	INTEGER pointcount,;
	INTEGER wrapMode,;
	INTEGER @polyGradient  

Parameters:

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.


Return value:

Returns 0 on success.


Comments:

When you no longer need the handle, call the GdipDeleteBrush function.