Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
CGDrawPicture
Last Revision: | Version 1.0, 2003-01-14 Shows how to use the QDPictDrawToCGContext API. |
Build Requirements: | Mac OS X 10.2 |
Runtime Requirements: | Mac OS X 10.2 |
CGDrawPicture is a sample program using Carbon on MacOS X which can view PICT files. PICT files can be dragged onto it or a file of type 'PICT' can be opened in the Open dialog. Two windows appear for each picture opened in the application. One window is the picture drawing with QuickDraw's DrawPicture routine. The second window is the picture drawn using QDPictDrawToCGContext to render QuickDraw pictures into a Quartz CGContextRef. Keywords: PICT DrawPicture QuickDraw QDPictDrawToCGContext Quartz CGContextRef
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14