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.
QuartzShapes
Last Revision: | Version 1.0, 2005-03-08 Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect |
Build Requirements: | Xcode 1.5 |
Runtime Requirements: | Mac OS X 10.3 |
Provides example functions for drawing shapes to a Core Graphics context, and show how to use them to draw in an Carbon HIView. The example functions that are implemented are equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect. There is also a function to create rounded rectangles like Mac OS X's windows.
Copyright © 2005 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2005-03-08