Re: NSBezierPath buggy?
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.