Introduction

Framework
/System/Library/Frameworks/ApplicationServices.framework
Header file directories
/System/Library/Frameworks/ApplicationServices.framework/Headers
Declared in
CGAffineTransform.h
CGBase.h
CGBitmapContext.h
CGColor.h
CGColorSpace.h
CGContext.h
CGDataConsumer.h
CGDataProvider.h
CGFont.h
CGFunction.h
CGGLContext.h
CGGeometry.h
CGGradient.h
CGImage.h
CGImageDestination.h
CGImageProperties.h
CGImageSource.h
CGLayer.h
CGPDFArray.h
CGPDFContentStream.h
CGPDFContext.h
CGPDFDictionary.h
CGPDFDocument.h
CGPDFObject.h
CGPDFOperatorTable.h
CGPDFPage.h
CGPDFScanner.h
CGPDFStream.h
CGPDFString.h
CGPSConverter.h
CGPath.h
CGPattern.h
CGShading.h

Quartz 2D is an API that makes the Quartz advanced drawing engine accessible from all OS X application environments outside of the kernel. It provides low-level, lightweight 2D rendering with unmatched output fidelity regardless of the display or printing device. The Quartz 2D API supports transparency layers, path-based drawing, transformations, offscreen rendering, advanced color management, anti-aliased rendering, patterns, shadings, image data management, image creation, masking, and PDF document creation, display, and parsing.