more Raw drawing


I have a raw widget and a user can select an image and click on the canvas
and that image will appear where the mouse is clicked. I want to be able to
just redraw the area where the image is and not the entire canvas area. I
use PtDamageExtent and give it the rect that the image occupies. In the
draw function I find out if any of the damage tiles intersect with any of
the rectangles that contain images and I redraw the images that are
intersected. However I seem to only get the lower half of the image
appearing on the screen. Is there a reason for this? I make sure to
translate the damage tiles so that they are relative to the canvas UL and
not the parent widget UL.

Any help would be greatly appreciated