N
not_a_commie
I need to draw (GDI+) rectangles that don't actually overwrite the
background (aka, what was already drawn to the Graphics object) if the
background is approximately black. What is the most efficient way to
do this? I can build up a Region checking each individual pixel
whenever my background image changes. I can then use sub-portions of
this region in my paint method. However, this seems kludgy to me. Any
better options?
background (aka, what was already drawn to the Graphics object) if the
background is approximately black. What is the most efficient way to
do this? I can build up a Region checking each individual pixel
whenever my background image changes. I can then use sub-portions of
this region in my paint method. However, this seems kludgy to me. Any
better options?