[cairo] [Patch] cairo-xcb: Fix clip-fill-{eo,nz}-unbounded

Uli Schlachter psychon at znc.in
Mon Nov 29 11:58:31 PST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

attached is a patch that fixes clip-fill-{eo,nz}-unbounded for me. The problem
is that the X server estimates the bounded extents of the drawing and it does so
with some rounding error. The result what you can see in the test failures.

I hope this makes sense and that this is the right fix. It's the best idea I had
so far.


One thing that I am not sure about is if this should really check for
!extents->is_bounded.
Perhaps this only needs !(extents->is_bounded & CAIRO_OPERATOR_BOUND_BY_MASK)?
Is there any difference between the two at all?

Cheers,
Uli
- -- 
"Do you know that books smell like nutmeg or some spice from a foreign land?"
                                                  -- Faber in Fahrenheit 451
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJM9AXkAAoJECLkKOvLj8sG1qkH/3RAR/wCKdTTXyH1QdUHq4es
1eygFHxodt67VQsQrv9j11XHyesVqyGcWq8Z+bxJ67dbIqe16wugZ/vNUOAeLOc+
PDTPHTWDjRhF7feCHesxOX7v+Ur7yV1tpZW6He5wQUnafn4bQKM4PKpzvXdUUh0N
uxs94wuPi/lGh/taL5HuG0qSUcdMa/8dOnhrhSyVJ/GL5NhaQPPlhz7s3ZMhDBjD
ZOwkffNCGonO4U6+eNArRLTxqWZYHKoQ9XEDNYJPGHR8AAsRfbA0CaoAAl45wpge
aM/zXGGyhbWQbsbigg0vCNxHoS1aQVbodOy1cIRdTkFThdtX7DWxShnVREwWOnc=
=oSJA
-----END PGP SIGNATURE-----


More information about the cairo mailing list