translate by percentage. [Archive] - XML Elves

translate by percentage.

surfer97301
08-07-2004, 01:24 PM
Hi,

I am trying to generate a set of lines that span the entire width of my canvas. I am doing this by dynamically inserting the <use xlink:href=#myline> into my canvas element. The problem I am encountering is that my lines are only being translated onto the first 3rd of my canvas. I have been trying to use percentage for translate( 10%, 0) but this turns out to have the same effect as translate(10, 0).

Anyone have ideas? Other than hardcoding the width of my canvas and then caculating the translation with that?

Thanks

 
Web mp2kmag.com
mapforums.com

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum