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