Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 918 Bytes

GdipCreateSolidFill.md

File metadata and controls

53 lines (35 loc) · 918 Bytes

Home

Function name : GdipCreateSolidFill

Group: GDI+ Brush - Library: gdiplus


Creates a SolidBrush object based on a color.


Code examples:

Custom GDI+ class

Declaration:

GpStatus WINGDIPAPI GdipCreateSolidFill(
	ARGB color,
	GpSolidFill **brush
)
  

FoxPro declaration:

DECLARE INTEGER GdipCreateSolidFill IN gdiplus;
	INTEGER   clr,;
	INTEGER @ brush  

Parameters:

color [in] ARGB Color value that specifies the initial color of this solid brush.

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.