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: CG vs QuickDraw



On Jun 10, 2007, at 09:31 AM, Ingemar Ragnemalm wrote:

Transparency, anti-aliasing: Not really an issue, QuickDraw does them pretty well.

Quickdraw only really understands binary transparency (regions). It only anti-aliases text (and not as well as Quartz). Quartz natively understands full alpha transparency and can anti-alias everything.


Loading pictures: Much easier in QuickDraw.

Have you looked into Image I/O? You can load most of the common image formats in 2 function calls: CGImageSourceCreateWith[Data | DataProvider | URL]() followed by CGImageSourceCreateImageAtIndex().
Granted, this is only 10.4 or later.


But the biggest advantage of Quartz is that you can take the same drawing commands you use to draw to screen, and virtually unmodified use them to create a PDF or Print, or to create an image of any DPI.

My conclusion is of course that CG is more modern (no question about it), but it is
also fun to break some illusions of QD's inabilities while pointing out the REAL
strengths.

Quickdraw had a forward looking design for it's day. It's the only reason why it was viable as a primary graphics system for over 15 years. But if you feel that Quickdraw really does have a strength somewhere that is overlooked in Quartz (and I won't say that isn't possible) then filing a feature enhancement would be highly appreciated :).
--
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: 
 >CG vs QuickDraw (From: Ingemar Ragnemalm <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.