[Webkit-unassigned] [Bug 21883] [CAIRO] globalAlpha has to be stored and restored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 28 07:17:26 PDT 2008


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


alp at nuanti.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alp at nuanti.com




------- Comment #3 from alp at nuanti.com  2008-10-28 07:17 PDT -------
(In reply to comment #2)
> Created an attachment (id=24706)
 --> (https://bugs.webkit.org/attachment.cgi?id=24706&action=view) [edit]
> save/restore globalAlpha
> 
> there was a little bug in GraphicsContext::setAlpha()
> 

GraphicsContext already keeps a stack with internal state (see
GraphicsContext.cpp GraphicsContext::save() and GraphicsContextPrivate.h). I
was thinking it might be better to add an 'alpha' field to that and let
GraphicsContext do the work for us so we don't need to maintain our own stack
of alpha values for GraphicsContextCairo. Could you take a look into that?


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