[Webkit-unassigned] [Bug 16171] [CAIRO] Canvas does not support globalAlpha
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 30 12:14:13 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=16171
------- Comment #4 from eric at webkit.org 2008-08-30 12:14 PDT -------
The problem with adding a getAlpha() getter is that CG will have trouble
supporting that API.
void GraphicsContext::setAlpha(float alpha)
{
if (paintingDisabled())
return;
CGContextSetAlpha(platformContext(), alpha);
}
There is no corresponding CGContextGetAlpha() (that I know of).
so either we'd need to move to a model where GraphicsContext stored the alpha
in the GraphicsContextState, or getAlpha() would need to be cairo only for now.
--
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