作者:R. Scott Thompson
出版日期:March 10, 2006
出版社:Addison Wesley
页数:352
ISBN:0-321-33663-1
文件格式:CHM
R. Scott Thompsonis currently a software engineer at Mindjet Corporation(www.mindjet.com). He has been a professional Macintosh developer since1993. Working with Apple as an independent consultant he helpeddevelopers move their applications from the classic Mac OS to Mac OS X.Prior to that, Scott was an engineer with Macromedia helping to createa popular PostScript-based print publishing application.
Copyright
Preface
Chapter 1. Getting Started
About This Book
Formatting Conventions
Accessing Quartz 2D
The Core Image API
Chapter 2. From QuickDraw to Quartz 2D
The Legacy of QuickDraw and the Rise of PDF
Graphics Programming in the Modern Age
Mac OS X Graphics Architecture
Other Graphics Libraries
Chapter 3. Introduction to Quartz 2D
Features of Quartz 2D
The Quartz 2D Drawing Model
A Simple Drawing Example
Chapter 4. The Graphics Context
User Space and the Page
The Graphics State
Other Context Functionality
Obtaining CGContexts
Chapter 5. Transformations
The Basic Transformations
Transformations in the Context
Transformations Unleashed
Drawing with Transformations
Transformations as Matrices
Chapter 6. Line ArtBuilding Paths
On Paths
Building Paths
Path Drawing Performance
Chapter 7. Line ArtDrawing
Drawing Basics
Fills
Strokes
Chapter 8. Image Basics
What Is an Image?
Introducing CGImage
Drawing CGImages
Creating CGImages
Image Performance Issues
Chapter 9. Importing and Exporting Images
Using QuickTime
Image I/O
Chapter 10. Drawing with Core Image
What Is Core Image?
How Core Image Manipulates Images
Using a Core Image Filter
Combining Filters and Images
Core Image Transitions
Animation, Timers, and Updates
A Transition Example
Chapter 11. Drawing Text with Quartz 2D
The Text Processing Pipeline
Drawing Text
Drawing Simple Strings
Drawing with Glyphs
A Drawing Sample
Chapter 12. Drawing Offscreen
Using a CGBitmapContext
Working with CGLayers
A Layer Drawing Example
Chapter 13. Shadings and Patterns
Shadings
Creating Shadings
Patterns
Creating Patterns
Drawing with Patterns
Chapter 14. Working with PDF
Drawing PDF Documents
Creating PDF Documents
Adding Hyperlinks to PDFs
Index