• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help for NSBezierPath.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: Help for NSBezierPath.
  • Next by Date: Re: Help for NSBezierPath.
  • Previous by thread: Re: Help for NSBezierPath.
  • Next by thread: Re: Help for NSBezierPath.
  • Index(es):
    • Date
    • Thread