[MonoDevelop] [PATCH] Source Editor
Michael Hutchinson
m.j.hutchinson at gmail.com
Fri Apr 27 08:07:07 EDT 2007
On 4/27/07, David Anes <david.anes at gmail.com> wrote:
> Hi Michael.
>
> To solve the Cairo antialiasing, I suggest to apply a translation
> transformation of (+0.5,+0.5) to the Cairo context before drawing, and set
> the thinkness to 1.
Oh, thanks. I've been doing that, but with hardcoded 0.5 offsets. I
didn't think of using a transformation. That'll be easier to adapt to
thicker lines....
Also, the bits where it draws lines back over themselves makes the
antialiasing darker, so I've changed that to a RelMove instead.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list