Chapter 14 Creating and Examining PDF Documents

The last chapter discussed how to open and draw existing PDF documents. The PDF discussion continues in this chapter by showing how to use Quartz to create new PDF documents. Working with PDF in this way is straightforward because Quartz uses the PDF file format as its graphics metafile format. Creating a PDF document from Quartz drawing captures virtually all of the original drawing without lossy data compression and without down-sampling (unless required to conform with the PDF specification). Line art graphics, images, text drawing, drawing of existing PDF pages, and path- and image-based clipping can all be represented with their full fidelity in PDF documents created by Quartz.

The ability ...

Get Programming with Quartz now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.