Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing the contents of a CGContext to another CGContext



On Jun 20, 2007, at 07:35 AM, Jonas Maebe wrote:

CGContextDrawImage (otherContext,boundsRect,CGBitmapContextCreateImage(FContext));

Note that CGBitmapContextCreateImage is only available in 10.4 and later.

Also note this one-liner leaks a CGImage (you probably know that, but someone reading the archives later might not realize it!)
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Drawing the contents of a CGContext to another CGContext (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Drawing the contents of a CGContext to another CGContext (From: Jonas Maebe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.