[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSBezierPath's containsPoint:
From: |
Fred Kiefer |
Subject: |
Re: NSBezierPath's containsPoint: |
Date: |
Sun, 21 Jul 2002 15:06:23 +0200 |
Marko Riedel wrote:
>
> --- Fred Kiefer <FredKiefer@gmx.de> schrieb: > Hi Marko,
> >
> > now that you have restated that you wont be doing this implementation, I
> [SNIP]
> > NSBezierPath that you create will respond to that method, and sometimes
> > even correctly.
>
> actually I'm curious to see the algorithm that you used. For some reason I
> couldn't find it on the CVS because I didn't know where to look. Where is
> the code?
The code is where you would expect it to be: In the file NSBezierPath,
but on GSBezierPath and not on the abstract class (BTW. I really don't
understand, why we have a separate abstract class for this, I just did
not dare to change it). And this surely is not "my" code, I did remove
some of the worst errors from the code, but that is the only
responsibility I would take for it. Still I could tell about five
problems with the current code, by just looking at it.
So feel free to go to your library and pick a better algorithm and
implement it. That is the way free software works, whoever needs a
feature adds it to the software. As you are the only one asking for a
better containsPoint: implementation (actually the first one using it at
all), you should be the one to implement it.