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: Transitioning from QuickDraw to Quartz



On May 23, 2005, at 04:44 PM, Scott Fraser wrote:

0. Is this the right list to ask about transitioning from QuickDraw?

It would be to your advantage to also be on the Carbon-Dev list. Things like the HIView model, while likely to be understood by many of us here, is not the topic of this list but are essential to properly moving to Quartz.


1. At what level of granularity does it make sense to replace QuickDraw calls? Each window? Each control? Each region/ path? The need to obtain and release a CGContext suggests a larger granularity, like a window.

Generally CGContexts will be given to you, but at what level you get them depends on how you transition. If you do a quick and dirty transition, you will get them at the window level. If you do a more thorough conversion you will get them at the Control/View level.


2. Is there any recommended order in which to attack such a conversion?

None that I know of, but I'm sure someone has some favorite method that they have used in the past...


3. Can Carbon event handlers coexist with QuickDraw WaitNextEvent model?

Yes, you can mix and match carbon event handlers and WNE, although this is more a topic for Carbon-Dev. The grand prize for that work is when you get rid of WNE all together and use RunApplicationEventLoop () instead.
--
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.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden
References: 
 >Transitioning from QuickDraw to Quartz (From: Scott Fraser <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.