Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help for NSBezierPath.



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Help for NSBezierPath. (From: "Jay" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.