[Webkit-unassigned] [Bug 26331] [Canvas] add: lineStyle = none|solid|dotted|dashed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 13 13:47:25 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26331
------- Comment #3 from krit at webkit.org 2009-06-13 13:47 PDT -------
I could just test it on gtk atm and I see a bad behavior of dotted paths. The
length of a dot is not scaled to the thickness of the stroked path. That means
that the distance between two dots is always the same, independently of the
stroke width.
I looked to the css implemenatation and the benefit on css is that it only
needs to stroke lines and circles. All ports have a special implementation (all
the same?) to solve the problem in GraphicsContext.
I don't know if we can reuse the logic to calculate the size of the dot in a
universal path. I'll take a look at this.
The situation for solid and none is clear. And dashed lines look ok, but we may
use the same logic as for dotted paths.
--
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