21 references to SetPixel
System.Drawing.Common (1)
System\Drawing\ToolboxBitmapAttribute.cs (1)
304img.SetPixel(0, img.Height - 1, newBottomLeft);
System.Windows.Forms (19)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (4)
79bitmap.SetPixel(0, 0, color1); 80bitmap.SetPixel(0, 1, color2); 81bitmap.SetPixel(1, 1, color1); 82bitmap.SetPixel(1, 0, color2);
System\Windows\Forms\Rendering\ControlPaint.cs (15)
1569bitmap.SetPixel(x, y, foreColor); 2161bitmap.SetPixel(x, y, Color.Transparent); 2171bitmap.SetPixel(x, y, brushColor); 2240b.SetPixel(1, 0, color2); 2241b.SetPixel(0, 1, color2); 2242b.SetPixel(0, 0, color1); 2243b.SetPixel(1, 1, color1); 2250b.SetPixel(1, 0, color1); 2251b.SetPixel(0, 1, color1); 2252b.SetPixel(0, 0, color2); 2253b.SetPixel(1, 1, color2); 2288bitmap.SetPixel(x, y, Color.Transparent); 2298bitmap.SetPixel(x, y, brushColor); 2476bitmap.SetPixel(x, y, pixel.InvertColor()); 2491result.SetPixel(x, y, pixel != backgroundColor ? pixel.InvertColor() : pixel);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
439image.SetPixel(image.Width / 2, image.Height / 2, testColor);