fill exact pixels

Andreas Lobinger <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAFfexC13gkU7Rj3+uLp-dWpbpsHvC2cNRy0Hh+Ynw-Og4KynxA@mail.gmail.com>
Hello colleagues,

i'm (not alone) trying to build a regression test and it would be nice
to build the test like drawing something to a image surface and
compare the bitmap (with the target).

Can i assume that i get exactly filled pixels with

* drawing lines with
* linewidth as even integer
* coordinates (transformed) as integers
* CAIRO_LINE_CAP_SQUARE?

So avoiding any anti-aliasing.

Wishing a happy day,
          Andreas
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.