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

Re: NSBezierPath buggy?


  • Subject: Re: NSBezierPath buggy?
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 16 Sep 2001 22:42:59 -0700

On Sunday, September 16, 2001, at 09:58 PM, Mike Margolis wrote:

So, does this sound like a bug in NSBezierPath, or am I using it improperly?

It sounds like you're constantly adding points to the path. Eventually, you'll hit some kind of limit there.

You didn't show much of the context of your code, so let me ask: are you running that loop that does all the -lineToPoint: calls inside of your -drawRect method? Do you have any -removeAllPoints messages in there at all?

I have seen other people treat and NSBezierPath as if it were a Postscript path, expecting a -stroke message to consume (delete) all the points in the path.

-jcr

"We have awakened the Sleeping Giant" -Admiral Isoroku Yamamoto, Dec 7, 1941.


References: 
 >NSBezierPath buggy? (From: Mike Margolis <email@hidden>)

  • Prev by Date: NSBezierPath buggy?
  • Next by Date: Re: Changing draggedImage in mid-drag
  • Previous by thread: NSBezierPath buggy?
  • Next by thread: Q: The cursor position in TextView
  • Index(es):
    • Date
    • Thread