If you set ....transform="scale(1.0,0.5)"... or any other case where 
the two values for scale() are not the same, then lines with the same 
stroke-width attribute have different actual widths, depending on the 
angle of the line.   This is the case even if you specify a unit for 
the stroke-width value (e.g. px, mm, em).  This seems to be an 
accepted 'feature' of SVG (e.g. Kurt Cagle's 'SVG Programming', page 
187), but if this is really the case then it's quite horrendous.   

For example: I want to use SVG to draw a graph (in the sense of a 
plot of one variable against another: say temperature against 
time).   Naturally, I want to scale the x and y axes into my units 
(degrees and days) using scale(TempScale,TimeScale), so that the x 
and y values for the <line> element are in my units.  This is fine - 
but (as above) the thickness of the line between two points depends 
on its angle! - totally unacceptable.  

Is there any solution to this problem which allows me to do the 
scaling into my own units?

I should point out that even keeping the same units (e.g. px) is not 
really a solution, since I'm making an interactive application, and 
the user might want to add a second graph in the same box with 
different min or max for the x or y variables, once again introducing 
differences between the x and y scaling.

Sorry if this is a well-worn issue, but I've not found any solution, 
and would greatly appreciate one.










-----
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/

<*> 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