Programming with Quartz 2D and PDF graphics in Mac Os X

Written by members of the development team at Apple, Programming with Quartz is the first book to describe the sophisticated graphics system of Mac OS X. By using the methods described in this book, developers will be able to fully exploit the state-of-the-art graphics capabilities of Mac OS X in th...

Descripción completa

Detalles Bibliográficos
Autor principal: Gelphman, David (-)
Otros Autores: Laden, Bunny
Formato: Libro electrónico
Idioma:Inglés
Publicado: Amsterdam ; Boston : Elsevier Morgan Kaufmann c2006.
Edición:1st edition
Colección:The Morgan Kaufmann Series in Computer Graphics
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627320106719
Tabla de Contenidos:
  • front cover; copyright; table of contents; front matter; Foreword; Preface; Our Objective; Outline; Conventions and Assumptions; Source Code; Header Files; Quartz Technologies; See Also; Acknowledgments; body; 1 Introducing Quartz 2D; A Bit of History; Quartz 2D Overview; What Software Can Use Quartz 2D?; Summary 1; See Also 1; 2 Quartz 2D Drawing Basics; Quartz Graphics Contexts; Filling a Rectangle; Stroking a Rectangle; The Order of Fill and Stroke Operations; Transforming the Coordinate System; Painting with Alpha; Making Dashed Lines; Clipping a Drawing; Drawing PDF Content
  • More About Graphics ContextsSummary 2; See Also 2; 3 Using Quartz 2D in Cocoa; Xcode Overview; Creating a Cocoa Xcode Project in Tiger; Creating a View in Interface Builder; Connecting the Interface to the Code; Obtaining a Graphics Context in Cocoa; Writing the Drawing Code; Examining the Drawing Output; Cocoa Framework Drawing and Quartz; Summary 3; See Also 3; 4 Using Quartz 2D in Carbon; Creating a Carbon Xcode Project; Setting Up a Carbon Window; Creating an Event Handler; Examining the Drawing Output; Using QDBeginCGContext; Summary 4; See Also 4
  • 5 The Quartz Coordinate System and Coordinate TransformationsUser Space and Device Space; Coordinate Transformations; The Current Transformation Matrix; The Mathematics of Affine Transforms; Saving and Restoring a Coordinate System; Affine Transform Convenience Functions; Creating a Skewed Coordinate System; Summary 5; See Also 5; 6 Drawing with Paths; Properties of Paths; Path Construction Primitives; Path Construction Convenience Functions; Stroking Paths; Filling Paths; Clipping with Paths; CGPath Objects (Jaguar); Anti-aliasing; Path Utility Functions; Summary 6; See Also 6
  • 7 Color, Alpha Transparency, and the Quartz Graphics StateColor and Color Spaces; Alpha Transparency; Graphics State Parameters; Summary 7; See Also 7; 8 Data Providers and Data Consumers; Data Providers; Data Consumers; Summary 8; See Also 8; 9 Drawing Images; Creating CGImage Objects; Best Practices for Working with Images; Image Utility Functions; Writing Image Data Using CGImageDestination (Tiger); Exporting to JPEG Using a QuickTime Exporter; Summary 9; See Also 9; 10 Image Masking; Creating an Image Mask; Masking an Image (Tiger); Using Color as a Mask (Tiger)
  • Clipping to a Mask (Tiger)Summary 10; See Also 10; 11 Text; Text Drawing Parameters; Drawing Text Using Quartz; Drawing Text Using Cocoa; Drawing Text Using Carbon; Drawing Text in a Flipped Coordinate System; Summary 11; See Also 11; 12 Creating Bits; Bitmap Graphics Context; CGLayers (Tiger); Caching Drawing Offscreen; Replacing CopyBits; Summary 12; See Also 12; 13 Opening and Drawing PDF Documents; PDF Document Properties; Opening a PDF Document; Using PDF as a Graphical Interchange; Drawing PDF Pages; Handling Protected PDF Documents (Jaguar); PDF Document Utility Functions; Summary 13
  • See Also 13