I think you were the victim of some extreme scaling effects. Not sure,
but with the extremely small dimensions you were using you could be
falling victim to rounding errors or other artefacts arising from
working at the limit of numeric precision. In particular, a stroke-width
of 1 would have been big enough perhaps to wipe out most of the detail.

I took your example and applied a transform to it, scaling up by a
factor of 10 to the power of approximately seven before running it
through my optimizer, which rounds all coordinates to integers, and then
again with a translate to get it into a reasonably intuitive
bounding-box with origin at (0,0). Now applying stroke-width seems to
work normally - at least in ASV. I don't know whether you will recognize
the following, but it's what my optimizing program produced:

<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12000 5500'>
<g id='response' stroke-width='100' stroke='red'>
<polyline points='6753,3401 4158,1627 3601,1337 49,102' id='56391'
fill='green' stroke='blue'/>
<polyline stroke='#C80' stroke-width='50' points='8654,3938 8615,2374'
id='56389' fill='blue'/>
<polyline stroke='black' points='8868,2589 8966,3977' id='56388'
fill='blue'/>
<polyline stroke='black' points='6395,2966 7404,3600' id='56387'
fill='blue'/>
<polyline stroke='black' points='7403,3797 6753,3401' id='56385'
fill='blue'/>
<polyline stroke='black' points='8654,3938 8565,3465 8474,3247 8299,3105
8123,3050 7932,3049 7748,3087 7609,3168 7524,3282 7404,3600' id='58544'
fill='blue'/>
<polyline stroke='black' points='8868,2589 9150,2928 9333,3092
10194,3763 10346,3916 10445,4090 10693,4738 10838,4945 11012,5118'
id='58545' fill='blue'/>
<polyline stroke='black' points='10553,3226 10799,3285 10983,3367
11113,3480 11141,3561 11123,3769 11120,4203 11145,4637 11255,4814
11435,4943' id='78839' fill='blue'/>
<polyline stroke='black' points='6292,3579 6338,5114' id='78842'
fill='blue'/>
<polyline stroke='black' points='4822,2858 4919,5125' id='78866'
fill='blue'/>
<polyline stroke='black' points='10553,3226 10271,2978 10219,2820
10090,2657 9928,2625 9789,2630 9642,2679 9571,2782 9615,2940 9715,3003
9815,3053 10014,3098 10553,3226' id='78880' fill='blue'/>
</g>
</svg>

The only modifications I have done are to put the stroke-width on the G
element and, for illustration to change the line with colour #C80 and
stroke width 50.

CPK Smithies

> -----Original Message-----
> From: svg-developers@yahoogroups.com
> [mailto:[EMAIL PROTECTED] Behalf Of Reid Priedhorsky
> Sent: 28 October 2006 02:35
> To: svg-developers@yahoogroups.com
> Subject: [svg-developers] Help with stroke
>
>
> Hi folks,
>
> I have the SVG file below. (This is an extract from some other stuff,
> but it demonstrates the problem.) I would like to have the polylines
> with some stroke-width and stroke color that I specify, but I cannot
> figure out how to do it.
>
> I can change fill just fine, but nothing I try changes the stroke away
> from (apparently) none.
>
> This is under FF 1.5. FF2 seems to be the same.
>
> Any help would be very much appreciated.
>
> Reid
>
>
> <?xml version='1.0' encoding='UTF-8'?>
> <svg xmlns='http://www.w3.org/2000/svg'
>       viewBox="-93.3528 44.938 0.015 0.015">
>    <g class='layers_byway' id='response' stroke-width="1"
> stroke="red">
>
>      <polyline points='-93.350047,44.942601
> -93.352642,44.940827 -93.353199,44.940537
> -93.356751,44.939302' id='56391' fill='green' stroke="blue"
> stroke-width="20"/>
>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.348146,44.943138 -93.348185,44.941574' id='56389'
> fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.347932,44.941789 -93.347834,44.943177' id='56388'
> fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.350405,44.942166 -93.349396,44.9428' id='56387'
> fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.349397,44.942997 -93.350047,44.942601' id='56385'
> fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.348146,44.943138 -93.348235,44.942665
> -93.348326,44.942447 -93.348501,44.942305 -93.348677,44.94225
> -93.348868,44.942249 -93.349052,44.942287
> -93.349191,44.942368 -93.349276,44.942482 -93.349396,44.9428'
> id='58544' fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.347932,44.941789 -93.34765,44.942128
> -93.347467,44.942292 -93.346606,44.942963
> -93.346454,44.943116 -93.346355,44.94329 -93.346107,44.943938
> -93.345962,44.944145 -93.345788,44.944318' id='58545' fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.346247,44.942426 -93.346001,44.942485
> -93.345817,44.942567 -93.345687,44.94268 -93.345659,44.942761
> -93.345677,44.942969 -93.34568,44.943403 -93.345655,44.943837
> -93.345545,44.944014 -93.345365,44.944143' id='78839' fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.350508,44.942779 -93.350462,44.944314' id='78842'
> fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.351978,44.942058 -93.351881,44.944325' id='78866'
> fill='blue'/>
>      <polyline stroke='black' stroke-width='10px'
> points='-93.346247,44.942426 -93.346529,44.942178
> -93.346581,44.94202 -93.34671,44.941857 -93.346872,44.941825
> -93.347011,44.94183 -93.347158,44.941879 -93.347229,44.941982
> -93.347185,44.94214 -93.347085,44.942203 -93.346985,44.942253
> -93.346786,44.942298 -93.346247,44.942426' id='78880' fill='blue'/>
>    </g>
> </svg>
>
>
> -----
> To unsubscribe send a message to:
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click
> "edit my membership"
> ----
> Yahoo! Groups Links
>
>
>
>



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to