From: Patrick Peccatte (IPA) (p.peccatte@ipa-france.com)
Date: 09/08/2002 - 13:16
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="12cm" height="3.6cm" viewBox="0 0 1000 300"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path id="MyPath"
d="M100 200 C200 100 300 0 400 100 C500 200 600 300 700 200 C800 100 900
100 900 100"
/>
</defs>
<desc>Example toap01 - simple text on a path</desc>
<use xlink:href="#MyPath" style="fill:none;stroke:rgb(255,0,0)"/>
<text style="font-family:Verdana;font-size:42.5;fill:rgb(0,0,255)">
<textPath xlink:href="#MyPath">
We go up, then we go down, then up again
</textPath>
</text>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="998" height="298"
style="fill:none;stroke:rgb(0,0,255);stroke-width:2"/>
</svg>
Pour apprendre ou composer en SVG, essayez JascWebDraw
essai gratuit pendant 30 jours, le temps d'apprendre ;-)
http://www.jasc.com/products/webdraw/
--
Patrick Peccatte
www.softexperience.com
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|