gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Other graphic issues


From: Fred Kiefer
Subject: Re: Other graphic issues
Date: Tue, 06 Sep 2011 22:47:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.20) Gecko/20110804 SUSE/3.1.12 Thunderbird/3.1.12

I think Eric is correct here. I checked the Grom file and the buttons are positioned on half pixels. We need to change the code to get more reliable results here, but for now it seems easier to adjust FisicaLab.

Fred

On 06.09.2011 20:44, Eric Wasylishen wrote:
I haven't had a look at Fisicalab yet, but something which may or may not be 
related is the artifacting I get in GSTest/ImageSelection-test. It happens when 
moving the sliders to adjust the image size; the image can leave lines as it's 
being resized, but the same code works fine on OS X.

The artifacting seems to to come from calling [aView setNeedsDisplayInRect:] 
with a non-integral rect. I suspect at some point the rect coordinates are 
being floor()'ed, which would be incorrect. If we mark a (possibly 
non-integral) region of a view as needing to be redrawn, at some point we'll 
need to compute a pixel aligned version that completely encloses the original 
rect.

-Eric

On 2011-09-05, at 3:47 AM, Fred Kiefer wrote:

On 05.09.2011 02:26, Germán Arias wrote:
Currently when I select an element in FisicaLab an ugly lines appears.
See attached image. I'm using cairo backend.

I tried to reproduce this behaviour with Fisicalab 0.2.1 and current SVN 
GNUstep code and failed to get these artefacts. I am using the cairo backend as 
well.

Could you please give some more details on how to reproduce this?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]