roassal pixel rendering

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

roassal pixel rendering

Peter Uhnak
Hi,

I've been experiencing weird behavior with pixel rendering...

basically one pixel lines will get blurred for some reason even though there is no half-pixel overlapping.

Here is a test code (screenshots attached below).
Without the labels the left box will be blurred while the right is better (even though it still has slight shadow); when I add labels however their behavior will switch.

What I would expect is to have nice sharp lines all the time.
Is this Athens issue? Roassal? Pharo?
Its ugly both on Linux and Windows.

====================================
| view box1 box2 |
view := RTView new.
box1 := RTBox new width: 50; height: 51; fillColor: Color transparent; borderColor: Color black; elementOn: '50@51'.
view add: box1.
box2 := RTBox new width: 51; height: 50; fillColor: Color transparent; borderColor: Color black; elementOn: '51@50'.
view add: box2.

"box1 @ RTLabelled.
box2 @ RTLabelled."

box1 translateTo: -50 @ 0.
box2 translateTo: 50 @ 0.

view open
====================================

Peter


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

without labels.png (1K) Download Attachment
with labels.png (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] roassal pixel rendering

abergel
Added this issue here:
https://code.google.com/p/moose-technology/issues/detail?id=1109

Cheers,
Alexandre


> On Mar 2, 2015, at 5:31 PM, Peter Uhnák <[hidden email]> wrote:
>
> Hi,
>
> I've been experiencing weird behavior with pixel rendering...
>
> basically one pixel lines will get blurred for some reason even though there is no half-pixel overlapping.
>
> Here is a test code (screenshots attached below).
> Without the labels the left box will be blurred while the right is better (even though it still has slight shadow); when I add labels however their behavior will switch.
>
> What I would expect is to have nice sharp lines all the time.
> Is this Athens issue? Roassal? Pharo?
> Its ugly both on Linux and Windows.
>
> ====================================
> | view box1 box2 |
> view := RTView new.
> box1 := RTBox new width: 50; height: 51; fillColor: Color transparent; borderColor: Color black; elementOn: '50@51'.
> view add: box1.
> box2 := RTBox new width: 51; height: 50; fillColor: Color transparent; borderColor: Color black; elementOn: '51@50'.
> view add: box2.
>
> "box1 @ RTLabelled.
> box2 @ RTLabelled."
>
> box1 translateTo: -50 @ 0.
> box2 translateTo: 50 @ 0.
>
> view open
> ====================================
>
> Peter
>
> <without labels.png><with labels.png>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev