About QuickDraw in Core Graphics

QDCG is a glue/re-implementation layer living on top of Core Graphics (a.k.a. Quartz 2D) in OSX. It lets you use a lot of QuickDraw calls with little changes, and better results.

QDCG covers significant parts of the QuickDraw API and also adds plenty of new functionality. Many CG features are included, with simplified calls.

This is just for porting old code, right?

Definitely not. The QuickDraw API is a lot easier to use than CG. You can pick just about any example and CG will have longer function names, more parameters, and you need more lines of code.

With QDCG, you don't need to keep a graphics context reference all the time, QDCG keeps track of it for you. In CG, the graphics context has to be passed to every call you make.

Example:

(to do - but yes, it is a difference)