[Webkit-unassigned] [Bug 15721] [CAIRO] Image transformations are broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 16 07:53:06 PDT 2008


------- Comment #3 from vbs85 at gmx.de  2008-06-16 07:53 PDT -------
The black background is a problem of the CompositeOperator.
If you hardcode the CompositeOperator, the background is transparent:

-    if (op == CompositeSourceOver && !frameHasAlphaAtIndex(m_currentFrame))
-         context->setCompositeOperation(CompositeCopy);
-     else
-        context->setCompositeOperation(op);
+    cairo_set_operator(cr, CAIRO_OPERATOR_OVER);

For every single step the background is transparent.
Only the last operation takes a wrong CompositeOperator. Thats why the
background is black. 

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