Re: Drawing in NSView
Re: Drawing in NSView
- Subject: Re: Drawing in NSView
- From: Henry McGilton <email@hidden>
- Date: Sun, 9 Mar 2003 10:37:41 -0800
On Friday, March 7, 2003, at 04:52 PM, Daniel Aarno wrote:
I have to write a custom view can anyone recommend what to read
(on-line) to get up and running with drawing in NSView subclasses in
general and drawing text in particular.
Start with NSView, of course . . .
For your text drawing, look at NSString Additions in App Kit. For this
you also need to look at NSFont and likely NSColor as well
Then look at NSBezierPath, as well as App Kit Functions, under
'Graphics'
And for somewhat more advanced stuff, look at NSAffineTransform
Buy 'Cocoa Programming' by Anguish, Buck, and Yacktman, and look at
the code for their drawing examples.
Cheers,
........ Henry
===============================+============================
Henry McGilton | Trilithon Software
Boulevardier, Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden |
http://www.trilithon.com
===============================+============================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.