How to paint an area of a bitmap with 'transparent white'?

Posted by mackenir on Stack Overflow See other posts from Stack Overflow or by mackenir
Published on 2010-05-21T14:45:47Z Indexed on 2010/05/21 15:10 UTC
Read the original article Hit count: 266

Filed under:
|
|

I want to replace all pixels in a rectangular region of a Bitmap with 'transparent white' - i.e., a=0, b=255, r=255, g=255.

FillRectangle doesnt do this - given a transparent brush, the existing pixels are unchanged.

Do I need to use SetPixel individually for each pixel in the rectangle?

© Stack Overflow or respective owner

Related posts about c#

Related posts about graphics