Smoother background lines
Brought to you by:
andreasb123,
auroux
Small tweak to make background lines more subtle, but still visible. This way the notes are easier to read.
./src/xo-misc.h:
Zero width means always 1px, no matter what zoom is used. 50% transparency makes them like 0.5px width.
(Sorry for not using preview button.)
This is a nice idea for some use cases, but it won't work for everyone
-- in particular, you are also setting the thickness to zero for PDF
export and printing, and in a PDF or a printout, zero thickness probably
does mean zero, or the thinnest line that the printer can produce.
(Also note that there is no guarantee that future evolutions using
another display renderer -- eg Daniel German's gtk3 port -- will still
interpret zero thickness as one pixel -- it's really a misfeature of
gnomecanvas, which you're putting to good use in a clever way but
probably shouldn't be relied on too extensively).
Denis
Zero width in Postscript also means "thinnest possible". So it is not accidental feature ;)
But I just tested PDF output and there zero means real zero, so no lines.
... which is actually good, because PDF export does not use 50% transparency. So lines are visible only during drawing and not in export. I guess it would be best to have separate option for print/export and for drawing.