Re: [pygtk] Cairo Line Width

2008-09-26 Thread Laszlo Pandy
In Cairo, the coordinates do not refer to a particular pixel. Instead "...integer coordinates map to points half way between sample point locations." http://www.cairographics.org/FAQ/#sharp_lines Laszlo 2008/9/26 Jeffrey Drake <[EMAIL PROTECTED]>: > In my code below, I set a line width of 1 and

Re: [pygtk] Cairo Line Width

2008-09-25 Thread Tim Evans
Jeffrey Drake wrote: > In my code below, I set a line width of 1 and then when I go to draw a > grid, what appears is an antialiased line of still width of 2. I need a > single pixel, not the ugly 2 width beast as shown before. > > The problem is when drawing the horizontal grid below. > > Any id

[pygtk] Cairo Line Width

2008-09-25 Thread Jeffrey Drake
In my code below, I set a line width of 1 and then when I go to draw a grid, what appears is an antialiased line of still width of 2. I need a single pixel, not the ugly 2 width beast as shown before. The problem is when drawing the horizontal grid below. Any ideas on how to fix this? My origina