[Webkit-unassigned] [Bug 24289] [Qt] lacks clipToImageBuffer()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 2 07:20:23 PST 2009


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





------- Comment #1 from krit at webkit.org  2009-03-02 07:20 PDT -------
Created an attachment (id=28173)
 --> (https://bugs.webkit.org/attachment.cgi?id=28173&action=view)
first try

This is the first try to solve the problem.

We save the QPixmap create a new layer to draw on and wait to the call of the
right gc->reset() (we have to count every save/restore to be sure).
On our restore, we take the QPixmap of the layer and mask it with the saved
mask image.

Unfortunately image.setMask(maskImage.mask()) just creates a 1bit Bitmap. So we
can't do half transparent things with it.


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