Scaling image in iOSCanvas

Hi. I’m sure this has been asked before but I cannot find the answer. How do you scale a picture in an iOSCanvas? I’m using in the paint

g.Drawimage(img, 0, 0)

The image is larger than the canvas area and is getting cut off

use the rest of the parameters to make it scale
http://developer.xojo.com/iosgraphics$DrawImage

It’s been a long day and this summer-ish day has gotten to me haha. Thanks Norman!

Note that ImageWell in iOS has all sorts of automatic scaling and picture position features.

It sure does Michel! But this one canvas needs to handle some touches. Thanks for the reply!