Chapter 3 Using Quartz 2D in Cocoa

Quartz 2D provides the foundation for Cocoa drawing. Cocoa 2D graphics facilities are built on top of Quartz 2D, and the Cocoa imaging model is that of Quartz 2D. Applications that use the Cocoa framework can use the Cocoa drawing methods that are built on top of Quartz and can call Quartz 2D directly as well. Most of this book discusses using Quartz directly rather than the Cocoa drawing methods that are built on top of Quartz. This chapter is no exception, but you will see how to call Quartz from the Cocoa framework.

Cocoa is a rich object-oriented programming toolkit. Programming in Cocoa requires knowledge of object-oriented programming techniques and the Objective-C language. This chapter does not teach ...

Get Programming with Quartz now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.