[webkit-reviews] review requested: [Bug 16171] [CAIRO] Canvas does not support globalAlpha : [Attachment 23088] Canvas globalAlpha

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 31 10:06:55 PDT 2008


Dirk Schulze <vbs85 at gmx.de> has asked  for review:
Bug 16171: [CAIRO] Canvas does not support globalAlpha
https://bugs.webkit.org/show_bug.cgi?id=16171

Attachment 23088: Canvas globalAlpha
https://bugs.webkit.org/attachment.cgi?id=23088&action=edit

------- Additional Comments from Dirk Schulze <vbs85 at gmx.de>
I use m_data to store the globalAlpha now but still had to use the getAlpha()
call in GraphicsContext.h to support globalAlpha in ImageCairo.cpp.
Otherwise globalAlpha wouldn't work on images (Canvas and HTML elements). I
took #if PLATFORM(CAIRO) to make sure that other platforms are not affected.

The globalAlpha implementation works for fill as well as stroke operations on
any sharp or image. With color, gradients and patterns.


More information about the webkit-reviews mailing list