O'Reilly logo

iPhone and iPad in Action: Introduction to SDK Development by Shannon Appelcline, Christopher Allen, Brandon Trebitowski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required