Can part of an image be drawn and invalidated?
I need to draw part of an image. I found the following function:

I have tried the image.draw() method and it does work. However, I am having issues with it because I am placing a progress widget behind it which invalidates that area and essentially wipes out the drawn image.
I have tried calling draw() after advancing the progress value of the widget, but it flickers. And calling image.invalidate() displays the entire image (not the partial rectangle set by the draw() method.