• 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: Question on NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on NSBezierPath


  • Subject: Re: Question on NSBezierPath
  • From: Scott Tooker <email@hidden>
  • Date: Thu, 31 May 2001 15:49:54 -0700

You can use [tBezierPath removeAllPoints] instead of going to trouble of creating new NSBezierPath objects.

Scott

On Friday, May 25, 2001, at 03:15 AM, John Hvrnkvist wrote:

or can I avoid the second call to tBezierPath = [NSBezierPath bezierPath]; since as it was stated the path has been consumed ?

The path has only been consumed from the graphics context. You still have the control points and commands in the NSBezierPath object.

Scott Tooker
QA & Integration - Project Builder
Mac OS X Development Environment


References: 
 >Re: Question on NSBezierPath (From: John Hörnkvist <email@hidden>)

  • Prev by Date: Re: performMiniaturize: on transparent window (was <aucun objet>)
  • Next by Date: Re: Icons in NSOutlineView
  • Previous by thread: Re: Question on NSBezierPath
  • Next by thread: NSMenuItem: [ ] Bug [ ] Unexpected Behavior [ ] Answer forthcoming
  • Index(es):
    • Date
    • Thread