CarbonSketch

Last Revision:
Version 1.1, 2005-03-23
Updated to be compatible with systems earlier than Mac OS v10.3 by using weak linking for Pasteboard API symbols.
Build Requirements:
Xcode
Runtime Requirements:
Mac OS X 10.2 and Later

CarbonSketch is a HIToolbox-based Carbon drawing application which instead of using QuickDraw APIs, does all of its rendering using Core Graphics. This Sample Demonstrates: 1) The usage of an overlay window for mouse-tracking feedback. 2) The usage of a 1x1-CGBitmapContext for hit-testing. 3) Printing 4) Saving as a PDF File. 5) Copy and Paste of pdf data using the new Pasteboard API's. 6) Weak linking and verification that the Pasteboard API's exist before using them.