[cairo] Cairo set_surface_source broken on image surface // was Cairo Win32 draws only some simple lines.
Chris Wilson
chris at chris-wilson.co.uk
Tue Feb 12 02:32:41 PST 2013
On Tue, Feb 12, 2013 at 10:52:12AM +0100, Edward Zimmermann wrote:
> I think there are some serious bugs in Cairo.
> The code I posted here at the first of the month continues to fail--- and this on multiple platforms.
Please don't hijack threads, it makes it too easy to miss important mail.
If I have missed something, just ping your original report.
As it turns out this is a rather simple bug that left the bbox badly
orientated for certain matrices when using a recording surface.
commit a09b7c79278465ee1ad916697e0153eae640d8df
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Feb 12 10:25:03 2013 +0000
path: Fix bbox computation for negative scale factors
The fast path for transforming a path by a simple scale factor forgot
to fix up the orientation of the box if that scale factor was negative.
Reported-by: Edward Zimmermann <Edward.Zimmermann at cib.de>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Thank you for your report,
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo
mailing list