[Webkit-unassigned] [Bug 24289] [Qt] lacks clipToImageBuffer()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 2 07:28:25 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24289
------- Comment #2 from krit at webkit.org 2009-03-02 07:28 PDT -------
Created an attachment (id=28174)
--> (https://bugs.webkit.org/attachment.cgi?id=28174&action=view)
second try
The second try. On calling clipToImageBuffer, we start a new layer and draw the
mask to the context and use the composite operator SourceIn. We started a new
Layer before to not affect the other drawings beside the masking process.
After setting the compositeOperator, we start a new (second) Layer for the
masked object. On the right call of restore, we draw both layers to the
context.
Only problem: SourceIn seems not to have no affect on the new created layer.
The GraphicsContext draws the mask to the context, but doesn't consider to the
masked object. You'll just see the mask.
--
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