[Webkit-unassigned] [Bug 26037] [Skia] Canvas globalAlpha property not applied to drawImage method
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 3 10:37:06 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26037
dglazkov at chromium.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30889|review? |review-
Flag| |
------- Comment #4 from dglazkov at chromium.org 2009-06-03 10:37 PDT -------
(From update of attachment 30889)
> + int alpha = roundf(platformContext->getAlpha() * 256);
> + if (alpha > 255)
> + alpha = 255;
> + else if (alpha < 0)
> + alpha = 0;
> + paint.setAlpha(alpha);
4 spaces indent.
Looks great otherwise.
--
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