Re: NSImage drawing (was Re: Problem with Gorm)

2011-07-06 Thread Quentin Mathé
Hi Eric and Fred, Le 4 juil. 2011 à 23:07, Eric Wasylishen a écrit : >> I had a quick look into these new methods and didn't like too much what I >> saw there. > > I agree. It's a real mess. > > The positive thing is that most of the rest of NSImage is pretty tidy, and > all drawing goes to -

Re: Pixel-aligned autoresizing

2011-07-06 Thread Fred Kiefer
On 06.07.2011 11:19, Eric Wasylishen wrote: Hi Fred, On 2011-07-06, at 2:32 AM, Fred Kiefer wrote: On 05.07.2011 22:15, Eric Wasylishen wrote: Hi, In the last month I was looking in to making GS's drawing output match cocoa exactly, in particular, getting rid of rounding in the backends. On

Re: Pixel-aligned autoresizing

2011-07-06 Thread Eric Wasylishen
Hi Fred, On 2011-07-06, at 2:32 AM, Fred Kiefer wrote: > On 05.07.2011 22:15, Eric Wasylishen wrote: >> Hi, >> >> In the last month I was looking in to making GS's drawing output >> match cocoa exactly, in particular, getting rid of rounding in the >> backends. >> >> One of the problems I encou

Re: Pixel-aligned autoresizing

2011-07-06 Thread Jens Ayton
On Jul 6, 2011, at 10:32, Fred Kiefer wrote: > > Basically wee need to ensure that all drawing operations that are > initiated by the gui drawing code get pixel aligned. Somebody will have > to test whether this is true for all drawing operations, that is, when I > use an NSBezierPath with fractio

Re: Pixel-aligned autoresizing

2011-07-06 Thread Fred Kiefer
On 05.07.2011 22:15, Eric Wasylishen wrote: Hi, In the last month I was looking in to making GS's drawing output match cocoa exactly, in particular, getting rid of rounding in the backends. One of the problems I encountered is GS can give autoresizing views fractional positions/sizes, whereas w