W3C home > Mailing lists > Public > www-svg@w3.org > February 2000

transformations and styles

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Mon, 14 Feb 2000 10:50:11 -0700
Message-ID: <00E567D938B9D311ACEC00A0C9B468730C7582@THOR>
To: "'www-svg@w3.org'" <www-svg@w3.org>
For the following SVG file, I would have assumed that there should have been a uniform stroke-width of one pixel.  However, both IBM's SVGView and Adobe's plug in render a one pixel width for the
first line segment and a 100 pixel width for the second line segment.  I think the behavior currently exhibited in the Adobe and IBM viewers is undesireable since it would requires you to reiterate
the same style after each transformation.  However, there seems to be no clear description of the proper behavior in the spec.

<?xml version='1.0' standalone='no' ?>
<!DOCTYPE svg SYSTEM 'svg-19991203.dtd' >
<svg width='700' height='700' >
<g style='fill:none; stroke:blue; stroke-width:1'>
<path d='M 70 448 80 340'/>
<!--  the scale affects the previously set stroke-width for both Adobe and IBM SVG View -->
<g transform='scale(100)'>
<path d='M 0.8 3.4 .9 3'/>
Received on Monday, 14 February 2000 12:53:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:47 UTC