Re: Cocoa equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect);

2009-06-23 Thread Frederick C. Lee
This is for the iPhone/iTouch environment. I discovered: CGContextTranslateCTM(). I'll also check out subclassing the scrollview. Ric. On Jun 14, 2009, at 7:53 PM, David Duncan wrote: On Jun 12, 2009, at 11:53 AM, Frederick C. Lee wrote: Is there a Cocoa/iPhone equivalent to Quartz's

Cocoa equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect);

2009-06-14 Thread Frederick C. Lee
Is there a Cocoa/iPhone equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect)? I want to be able to display an off-view portion; or pan over a large PNG image within the available UIView. Ric. ___ Cocoa-dev mailing list (Cocoa

Re: Cocoa equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect);

2009-06-14 Thread Kyle Sluder
Are you looking for Cocoa solutions as well, or only Cocoa Touch? The typical way to do this on desktop (Cocoa) is to use an NSScrollView (with NSClipView). On Cocoa Touch, I hear people often use a CATiledLayer, but as I'm not an iPhone dev there might be better solutions available for your

Re: Cocoa equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect);

2009-06-14 Thread Rob Keniger
On 13/06/2009, at 4:53 AM, Frederick C. Lee wrote: Is there a Cocoa/iPhone equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect)? I want to be able to display an off-view portion; or pan over a large PNG image within the available UIView. Check out Bill Dudney's

Re: Cocoa equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect);

2009-06-14 Thread David Duncan
On Jun 12, 2009, at 11:53 AM, Frederick C. Lee wrote: Is there a Cocoa/iPhone equivalent to Quartz's CGImageCreateWithImageInRect(image, imageRect)? The equivalent is... CGImageCreateWithImageInRect :). Keep in mind that 9 times out of 10 what people want to use it for is not what