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: "DisposeGWorld is deprecated"




On May 30, 2005, at 10:02 PM, Jonathan del Strother wrote:


On 31 May 2005, at 03:38, Jonathan del Strother wrote:


I'm building something with a compiler target of 10.4, and keep getting told that DisposeGWorld is deprecated. There doesn't seem to be anything in the documentation or header files that should be used instead...am I missing something?


OK, so I'm being a little slow tonight. DisposeGWorld is a QuickDraw function, and so deprecated in Tiger. However, the rest of the calls I'm making (eg QTNewGWorldFromPtr, GraphicsImportDraw) are QuickTime, and not deprecated (right?)
So what's the QuickTime equivalent of DisposeGWorld?

For Tiger and later, your best bet is probably to replace that code with CGBitmapContextCreate and the image import routines in Image I/O.


Scott

_______________________________________________
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: 
 >"DisposeGWorld is deprecated" (From: Jonathan del Strother <email@hidden>)
 >Re: "DisposeGWorld is deprecated" (From: Jonathan del Strother <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.