Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


SVG: attributes relativ to other elements / special anchors ??

From: "Peter Jakobi" <Pet505@-----.--->
To: NULL
Date: 7/1/2005 6:59:00 AM
Hello,

I want to place two lines relative to another. The problem is, that
these two lines are in different groups.

Is there an possibility to set the x and y values of the second line
with the values of the first line + an offset.

Something like that for example:

<line id="line1" x1="100" y1="100" x2="200" y2="100"/>
<line id="line2" x1="100" y1=line1.x1+100 x2="200" y2=line1.x2+100/>

How can I resvole my problem? Do I have to use javascript, which sets
up the values for the second line??


Another question: Can I set some "certain anchors" in svg? I think
about this problem. There are two lines specified. Each line has an
"anchor". Now I want to set a line between these two anchors. The
advantage of that is, that i can mave the two lines without any
problem. The third line, which connects the two first lines will be
there everytime. 

Any tips for that problem??


Thanks,
Pet



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent