I believe that you need to use SetPixel (or equivalent method of setting the color values directly) to get the pixels to be "transparent white".
You can use the Graphics.Clear
method to set the color or pixels, but you can't use it to set them to both transparent and a color. I tried this to set the pixels in a part of a bitmap:
using (Graphics g = Graphics.FromImage(theBitmap)) {
g.Clip = new Region(new Rectangle(10, 10, 80, 80));
g.Clear(Color.FromArgb(0, Color.White));
}
The pixels in the region end up as "transparent black": 0,0,0,0. Even drawing a solid white rectangle before clearing doesn't help. When the alpha is zero in a color, the other color components are also zero.
Using an almost transparent alpha like 1 works fine, the pixels end up as "almost transparent white": 1,255,255,255.