On 21/09/2009, at 9:21 AM, Ken Ferry wrote:

Ah, I forgot about CGImageCreateCopy.

No, as noted in the header,

/* Return a copy of `image'. Only the image structure itself is copied; the
   underlying data is not. */

I'm not sure when you _would_ want to use CGImageCreateCopy, actually.

Now that you've pointed that out, neither am I! I should always remember to check the header, the docs don't mention this detail. Should I file a bug against the docs?

This would do it, I think:

Many thanks.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to