[cairo] fill exact pixels

Bill Spitzak spitzak at gmail.com
Sat Jul 9 19:09:50 UTC 2016


On 07/09/2016 04:01 AM, Lawrence D'Oliveiro wrote:
> On Sat, 9 Jul 2016 12:20:02 +0200, Andreas Lobinger wrote:
>
>> So avoiding any anti-aliasing.
>
> Just turn off anti-aliasing.
>
No, that would hide bugs in the anti-aliasing.

Using integers and even line widths is supposed to work.

You can use odd line widths (ie 1) if you use integer+.5 for the 
coordinates, but you have to use plain integers for any fills.



More information about the cairo mailing list