On Tue, 2012-04-17 at 11:57 +1000, Daniel Baird wrote:
See how a line that's one pixel wide, if you want it to be drawn on just one pixel rather than overhanging across two pixels, needs to be through the centre of the pixels at x=0.5.
Thanks for the explanation, hopefully others reading will be able to follow better than my cavewoman descriptions of the problem now. :)
I wonder if it should be expected that Inkscape behaves this way, or should it have some way to deal with these situations? It's just that, in the course of my teaching Inkscape to beginners, you'd think drawing a straight line would be easy-peasy basics, and inevitably the beginners notice their lines are mushy compared to other Inkscape work and I have to try to explain this... while it's not so difficult a concept, it's not exactly something you should have to think about when creating a drawing or a diagram or whatnot, is it?
E.g., I think we also have the issue that when you add a stroke to a path, you can't switch the stroke from being centered along the outer edge of the path to being along the outer part or the inner part as a stroke style option, correct? I wonder if the solution to that issue could also help solve this 'I can't draw a clean straight line out-of-the-box' issue.
By the way, in no way do I mean to be overly critical of Inkscape, I love it, it's my favorite program ever, and it always gets the job done for me. I'm finding it challenging to teach creating pixel-aligned artwork to others is the problem, perhaps other software they've used handled this in a different way.
~m