summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ebc8dd)
raw | patch | inline | side by side (parent: 0ebc8dd)
author | gbanaszk <gbanaszk@users.sourceforge.net> | |
Fri, 27 Jul 2007 15:58:56 +0000 (15:58 +0000) | ||
committer | gbanaszk <gbanaszk@users.sourceforge.net> | |
Fri, 27 Jul 2007 15:58:56 +0000 (15:58 +0000) |
share/examples/tref.svg | [new file with mode: 0644] | patch | blob |
diff --git a/share/examples/tref.svg b/share/examples/tref.svg
--- /dev/null
+++ b/share/examples/tref.svg
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="488.92001"
+ height="148.5"
+ viewBox="0 0 1000 300"
+ version="1.0"
+ id="svg2255"
+ sodipodi:version="0.32"
+ inkscape:version="0.46dev+devel"
+ sodipodi:docname="tref.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <metadata
+ id="metadata2271">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <sodipodi:namedview
+ inkscape:window-height="744"
+ inkscape:window-width="1280"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ inkscape:zoom="1"
+ inkscape:cx="446.84003"
+ inkscape:cy="19.153012"
+ inkscape:window-x="-4"
+ inkscape:window-y="-4"
+ inkscape:current-layer="svg2255"
+ width="488.92px"
+ height="148.5px" />
+ <defs
+ id="defs2257">
+ <text
+ id="ReferencedText">Referenced character data</text>
+ </defs>
+ <text
+ x="40.090099"
+ y="42.696518"
+ font-size="45"
+ id="text2262"
+ style="font-size:29.54101944px;fill:#0000ff">Inline character data</text>
+ <text
+ x="38.907303"
+ y="84.391068"
+ font-size="45"
+ id="text2264"
+ style="font-size:29.54101944px;fill:#ff0000">
+ <tref
+ xlink:href="#ReferencedText"
+ id="tref2266" />
+ </text>
+ <text
+ id="text2217"
+ font-size="45"
+ y="126.08561"
+ x="38.907303"
+ style="font-size:29.54101944px;fill:#a05a2c">This text is stripped from the meta data: <tref
+ id="tref2219"
+ xlink:href="#metadata2271"
+ style="fill:#a05a2c" />
+</text>
+ <text
+ xml:space="preserve"
+ style="font-size:21.00694847px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Aldine401 BT"
+ x="34.670681"
+ y="169.49898"
+ id="text2252"><tspan
+ sodipodi:role="line"
+ id="tspan2254"
+ x="34.670681"
+ y="169.49898">The tref element allows you to refer to character data from any other svg element.</tspan><tspan
+ sodipodi:role="line"
+ x="34.670681"
+ y="195.75766"
+ id="tspan2256">The tref will act just like a tspan for this cloned text, and the same properties that</tspan><tspan
+ sodipodi:role="line"
+ x="34.670681"
+ y="222.01635"
+ id="tspan2258">can be applied to a tspan can be applied to a tref. As such, regular tspans and text</tspan><tspan
+ sodipodi:role="line"
+ x="34.670681"
+ y="248.27503"
+ id="tspan2260">nodes can be contained in the same text object as a tref. The cloned character data</tspan><tspan
+ sodipodi:role="line"
+ x="34.670681"
+ y="274.53372"
+ id="tspan2262">may not be edited even though the rest of the text can be.</tspan></text>
+</svg>