#4036 closed defect (fixed)
non-solid strokes corrupt in SVG
Reported by: | guest | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | DojoX GFX | Version: | 0.9 |
Keywords: | stroke, svg | Cc: | |
Blocked By: | Blocking: |
Description
Using the 0.9 Beta code: The problem seem to be that the dasharray containing the dash, dot etc. definitions in terms of arrays are by mistake modified. Making a copy of the defining array, before modifing it (e.g. multiplying with the stroke width etc.) solves the problem.
For example, adding the following at row 135 in svg.js solves the problem.
da=da.slice();
The problem persists in trunk, see http://trac.dojotoolkit.org/browser/dojox/trunk/gfx/svg.js#L135
Change History (2)
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [10039]) Fixed a bug, when a static constant data were modified by reference. Thx, anonymous! Fixes #4036.