The BitmapContext.
The width of the bitmap.
The height of the bitmap.
The x coordinate (row).
The y coordinate (column).
The color.
DrawPixel Method
Sets the color of the pixel. For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
Syntax
public static void DrawPixel( 
   BitmapContext context,
   int w,
   int h,
   int x1,
   int y1,
   int color
)

Parameters

context
The BitmapContext.
w
The width of the bitmap.
h
The height of the bitmap.
x1
The x coordinate (row).
y1
The y coordinate (column).
color
The color.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also