[Webkit-unassigned] [Bug 20578] [CAIRO] pattern of a canvas-element changes after modifications on canvas-element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 23 18:41:01 PDT 2009


------- Comment #4 from hamaji at chromium.org  2009-06-23 18:41 PDT -------
(In reply to comment #2)
> (From update of attachment 31714 [review])
> Isn't there an easier/cleaner way to copy an image in Cairo? 

I searched cairo API and web, but couldn't find an convenient API for this. In
the following discussion, a person is saying that "cairo isn't providing a
"copy surface" primitive".


> Is memcpy the right allocator to use?

Ah, I think using cairo_paint would be better as it would work even if the
source surface has different internal representation. I've uploaded another
patch which changes this. Thanks.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list