Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2005-03-08

Build Requirements: Xcode 1.5

Runtime Requirements: Mac OS X 10.3

View Source Code:

Download Sample Code (“QuartzShapes.zip”, 46.7K)



Description

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.

Document Revision History

Date Notes
2005-03-08Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
Did this document help you? Yes It's good, but... Not helpful...