Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 946 Bytes

GdipBitmapSetPixel.md

File metadata and controls

56 lines (38 loc) · 946 Bytes

Home

Function name : GdipBitmapSetPixel

Group: GDI+ Bitmap - Library: gdiplus


Sets the color value of an individual pixel.


Declaration:

GpStatus WINGDIPAPI GdipBitmapSetPixel(
	GpBitmap* bitmap,
	INT x, INT y, ARGB color)  

FoxPro declaration:

DECLARE INTEGER GdipBitmapSetPixel IN gdiplus;
	INTEGER gdibitmap,;
	INTEGER x,;
	INTEGER y,;
	INTEGER argbcolor  

Parameters:

gdibitmap [in] Handle to a GDI bitmap.

x [in] Integer X-coordinate of pixel to get.

y [in] Integer Y-coordinate of pixel to get.

argbcolor [in] ARGB color value to be set for the pixel.


Return value:

Returns 0 on success.


Comments:

See also: GdipBitmapGetPixel.