In a a pair of lines like
the stroke-width scales up and down with the zoom but the dy displacement does not change in the same way.
This code is intended to produce a line with ticks off to one side. As far as I can see, ideally it ought to be:
with teh displacement and the width scaling exactly the same way.
Code Select
<line stroke="#B3A18F" stroke-width="0.6dp" dy="2dp" stroke-dasharray="1,8" stroke-linecap="butt" />
<line stroke="#B3A18F" stroke-width="0.1dp" stroke-linecap="butt" />
the stroke-width scales up and down with the zoom but the dy displacement does not change in the same way.
This code is intended to produce a line with ticks off to one side. As far as I can see, ideally it ought to be:
Code Select
<line stroke="#B3A18F" stroke-width="0.6dp" dy="0.3dp" stroke-dasharray="1,8" stroke-linecap="butt" />
<line stroke="#B3A18F" stroke-width="0.1dp" stroke-linecap="butt" />
with teh displacement and the width scaling exactly the same way.