RESOLVED DUPLICATE of bug 2352620647
[CAIRO] clipToImageBuffer() needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=20647
Summary [CAIRO] clipToImageBuffer() needs to be implemented
Dirk Schulze
Reported 2008-09-04 10:07:04 PDT
clipToImageBuffer() is needed for canvas texts and by RenderBox but misses an implementation on cairo/gtk. The problem is the different functioning of Cg and Cairo on using mask's. On Cg you apply the mask to the context and draw the masked object aferwards. In Cairo you draw the masked object to the context and mask it with the mask afterwards. Thats nearly the other way around.
Attachments
Cairo clipToImageBuffer (3.56 KB, patch)
2008-09-04 10:20 PDT, Dirk Schulze
no flags
Dirk Schulze
Comment 1 2008-09-04 10:20:51 PDT
Created attachment 23172 [details] Cairo clipToImageBuffer Se it as a Proof-of-Concept. It works for canvas texts. Please give some food for thought to improve it.
Dirk Schulze
Comment 2 2009-01-24 23:46:50 PST
*** This bug has been marked as a duplicate of 23526 ***
Note You need to log in before you can comment on or make changes to this bug.