[cairo] Fix for cairo_paint()
otaylor at redhat.com
Wed Apr 27 10:26:34 PDT 2005
On Wed, 2005-04-27 at 11:34 -0400, Carl Worth wrote:
> On Wed, 27 Apr 2005 11:03:04 -0400, Owen Taylor wrote:
> > So I tried using cairo_paint() and it wasn't working right with
> > a translation in effect .. the area to paint was being gotten
> > in backend coordinates but painted in user coordinates.
> I noticed the same bug yesterday.
> > Here's a fix and test case ... it should be pretty self-explanatory.
> I committed a fix yesterday, (with a remarkably similar test
Must remember, bug report investigation step 1. 'cvs update' :-)
> Your fix is better though as it doesn't' clear the current
> path. Also, I realize that in my version, cairo_paint won't always get
> the right result if the current path is not empty.
I think your version also won't handle
> So, please commit this.
Merged and committed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050427/604dc304/attachment.pgp
More information about the cairo