Re: Fwd: NSView patch

2009-03-02 Thread Fred Kiefer
Matt Rice wrote: > On Mon, Feb 23, 2009 at 8:50 AM, Fred Kiefer wrote: >> Matt Rice wrote: >>> On Mon, Feb 23, 2009 at 5:50 AM, Fred Kiefer wrote: The other problem that we sometimes mark subviews as still needing display due to rounding errors should be addressed. Here it would be

Re: Fwd: NSView patch

2009-02-26 Thread Fred Kiefer
Matt Rice wrote: > I don't think that will work because I'm also seeing rounding errors on > the isect = NSIntersectionRect(...) calls... though not in the stuff i > sent earlier for some reason... not sure why... > but that would also only work when displaying whole views, > and i take it you don'

Re: Fwd: NSView patch

2009-02-24 Thread Matt Rice
On Mon, Feb 23, 2009 at 8:50 AM, Fred Kiefer wrote: > Matt Rice wrote: >> On Mon, Feb 23, 2009 at 5:50 AM, Fred Kiefer wrote: >>> The other problem that we sometimes mark subviews as still needing >>> display due to rounding errors should be addressed. Here it would be >>> helpful to get the deta

Re: Fwd: NSView patch

2009-02-23 Thread Fred Kiefer
Matt Rice wrote: > On Mon, Feb 23, 2009 at 5:50 AM, Fred Kiefer wrote: >> The other problem that we sometimes mark subviews as still needing >> display due to rounding errors should be addressed. Here it would be >> helpful to get the detailed values of the involved rectangles. These >> surely are

Re: Fwd: NSView patch

2009-02-23 Thread Matt Rice
On Mon, Feb 23, 2009 at 5:50 AM, Fred Kiefer wrote: > I think we have two problems here. One being the handling of overlapping > subviews. I really don't have an idea how this should be done. We don't > even have a definition if the first one in the subview list or a later > on is above (or below)

Re: Fwd: NSView patch

2009-02-23 Thread Fred Kiefer
I think we have two problems here. One being the handling of overlapping subviews. I really don't have an idea how this should be done. We don't even have a definition if the first one in the subview list or a later on is above (or below). If Matt needs a strict definition here, he has to come up w

Fwd: NSView patch

2009-02-23 Thread Richard Frith-Macdonald
While I have some sympathy with Matt's view below (that changing the behavior of NSEqualRects() is a simple/elegant fix for his problem), I'm not sure it's the right thing to do. Clearly, with an exact test for equality, rectangles (and points and sizes) are not going to compare as equal on