[Webkit-unassigned] [Bug 23625] Skia platform doesn't render text to a canvas or support clipping to an image buffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 2 15:49:43 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23625


krit at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krit at webkit.org
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




------- Comment #4 from krit at webkit.org  2009-02-02 15:49 PDT -------
The end of clipToImageBuffer is not necessarily reached with the next restore.
You can use combinations of save and restore between clipToImageBuffer and it's
corresponding restore. SVG Masking uses different save/restores between
clipToImageBuffer and the real restore.

At the moment we use clipToImageBuffer on three points. Filling/stroking texts
with gradients or patterns on Canvas, clipping text on a background for CSS and
SVG Masking. There is no implementation for SVG Masking on Skia, but there is a
patch for making SVG Masking platform aware at
https://bugs.webkit.org/show_bug.cgi?id=19243

And I don't know if it is possible to use clipToImageBuffer during a
clipToImageBuffer. So it's maybe necessary to store more clipImages:

context->save();
context->clipToImageBuffer();

...
context->save();
context->clipToImageBuffer();
...
context->restore();
...

context->restore();


-- 
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