Re: Help for NSBezierPath.
Re: Help for NSBezierPath.
- Subject: Re: Help for NSBezierPath.
- From: Uli Kusterer <email@hidden>
- Date: Thu, 29 Mar 2007 22:34:17 +0200
Am 29.03.2007 um 20:36 schrieb Jay:
I'm just a new comer of cocoa, I need to deal with some GUI
involved with NSBezierPath, does anyone can share some basic sample
code about some GUI with this class, using objective-c. I just
wanna get some detailed feelings about the class, I read about the
demo given by apple, which integrated too much other detail, seems
too complicated to me:-(. Many thanks inadvance.
If you haven't done so already, you may want to look at some of the
NSView samples and documentation. You always need an NSView to put
any drawings on the screen. Your NSView is asked to draw something by
the OS (or you explicitly tell Cocoa your view needs to be redrawn
using setNeedsDisplay), and in drawRect: you can then use
NSBezierPath and friends.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden