If you want to draw only parts of the image you must draw only these parts. With some
math you can detect whether a coordinate and its pixel belomg to our drawing region.
Another way is to work with regions. Take a dive into the article
A Region Creator.
My tip is to stick with regions, because Microsoft has some
functionality built into Windows.