Skip to main content

Drawing with Quartz and OpenGL

  • Chapter
Beginning iPhone Development
  • 495 Accesses

Abstract

Every application we’ve built so far has been constructed from views and controls provided to us as part of the UIKit framework. You can do an awful lot with these stock components, and a great many application interfaces can be constructed using only these stock objects. Some applications, however, can’t be fully realized without looking further. For instance, at times, an application needs to be able to do custom drawing. Fortunately for us, we have not one but two separate libraries we can call on for our drawing needs: Quartz 2D, which is part of the Core Graphics framework, and OpenGL ES, which is a cross-platform graphics library. OpenGL ES is a slimmed down version of another cross-platform graphic library called OpenGL. OpenGL ES is a subset of OpenGL designed specifically for embedded systems such as the iPhone (hence the letters “ES”). In this chapter, we’ll explore both of these powerful graphics environments. We’ll build sample applications in both and try to get a sense of which environment to use when.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Dave Mark, Jeff LaMarche

About this chapter

Cite this chapter

(2009). Drawing with Quartz and OpenGL. In: Beginning iPhone Development. Apress. https://doi.org/10.1007/978-1-4302-1627-8_12

Download citation

Publish with us

Policies and ethics