Chapter 13. Graphics: Quartz, Core Animation, and OpenGL

This chapter covers

  • Using Quartz 2D for drawing
  • Understanding context, paths, and state
  • Using Core Animation
  • Learning about OpenGL ES

As you saw in chapter 11, creating and displaying images often isn’t enough. In games and other more complex programs, you’ll also want to manipulate those images in various ways at runtime. The iPhone OS offers two major ways to do this.

The first is through Quartz 2D, a two-dimensional drawing library that allows for complex line drawings, much as Canvas did on the web. It’s also the heart of the Core Graphics frameworks. We already touched on Quartz in the previous chapter, when you drew images straight to the CALayer of a UIView; it will be the ...

Get iPhone and iPad in Action: Introduction to SDK Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.