Hi Peter! I was able to reproduce the problem you describe on Mac. Indeed, it would be great to have a solution for this. Thanks for looking into this. Cheers, Alexandre
On Mar 3, 2015, at 10:37 AM, Peter Uhnák <i.uhnak@gmail.com> wrote:
with cairo, coordinates are between pixels
-> http://cairographics.org/FAQ/#sharp_lines
Aha! Thank you.
Now the question is how this could be solved. One of their suggestions is use even-integer width, but that from principle wouldn't be true, since it still overlaps by half-a-pixel (so one full and two 1/2 pixels). So the other option is to apply transformation matrix to the whole visualization? So much work for a sharp line. :( And considering that it seems to be blurred in one axis differently than the other... I'll play some more with it.
Pete
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.