Hi,
Boy, this is such a newbie question, but I need to use Phoney's code for shrinking an image, and I can't figure out how to call the function:
UIImage *imgMyShrunkenImage = ?????
In my code, I turned phoney's
UIImage* resizedImage(UIImage *inImage, CGRect thumbRect)
into:
-(UIImage*)resizedImage:(UIImage*)inImage inRect:(CGRect)thumbRect {
because I'm more familiar with that syntax, but I need to know how to complete the line that calls the funtion or method, passing an image and a rect, and creating a UIImage that I can then use.
Thanks for any help.
/Steve
|