September 2002
Intermediate to advanced
1272 pages
31h 12m
English
The Application Kit provides several classes to assist in using Quartz to draw 2D graphics. It also provides functions that can be used to do some basic, common drawing tasks, such as rapidly drawing rectangles.
NOTE
Many Application Kit classes support Quartz drawing. For managing and drawing bitmaps, there is NSImage and several NSImageRep subclasses. To draw lines, rectangles, arcs, curves, polygons, and more, there is NSBezierPath. To adjust the parameters of the current graphics context, use the NSGraphicsContext and NSAffineTransform classes. To draw simple text, use the methods added to NSString and NSAttributedString by the Application Kit in the NSStringDrawing categories. If more complex or more ...
Read now
Unlock full access