J Jon Harrop Jan 24, 2007 #1 How do I clear a bitmap to a single color, or draw a rectangle into a bitmap to clear it? Do I have to iterate over the pixels myself?
How do I clear a bitmap to a single color, or draw a rectangle into a bitmap to clear it? Do I have to iterate over the pixels myself?
H Herfried K. Wagner [MVP] Jan 24, 2007 #2 Jon Harrop said: How do I clear a bitmap to a single color, or draw a rectangle into a bitmap to clear it? Do I have to iterate over the pixels myself? Click to expand... Check out the 'Graphics' class, especially its 'FromImage' and 'FillRectangle' methods.
Jon Harrop said: How do I clear a bitmap to a single color, or draw a rectangle into a bitmap to clear it? Do I have to iterate over the pixels myself? Click to expand... Check out the 'Graphics' class, especially its 'FromImage' and 'FillRectangle' methods.