[Webkit-unassigned] [Bug 12501] SVG Text fails to respect opacity, fill-opacity and stroke-opacity
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 30 18:47:33 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=12501
------- Comment #3 from macdome at opendarwin.org 2007-04-30 18:47 PDT -------
This looks like something which should be turned into a Color constructor or a
static function:
Color(float(colorComponents[0]) * 255., float(colorComponents[1]) * 255.,
float(colorComponents[2]) * 255., float(opacity) * 255.0f)
colorFromFloatComponents(colorComponents)
or
Color(colorComponents)
or
Color(colorComponents[0], colorComponents[1], colorComponents[2], 0)
Or similar. Something to prevent forgetting a 255 somewhere or mixing up
channels, as I've been known to do in the past in that code...
--
Configure bugmail: http://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