Bitmap bitmap = new Bitmap(250, 110);
Graphics graphics = Graphics.FromImage(bitmap);
SolidBrush b = new SolidBrush(System.Drawing.Color.Red);
graphics.FillRectangle(b, 0f, 0f, 100, 100);
graphics.D…...the following output on a Windows machine in a WinForms application...Drawing but using the native Windows libraries: image.png (342 Bytes)...