aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/svg/test/use01.svg
blob: 0394ea8a8237553d31f9b5bdbca47adb080983f1 (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" standalone="yes"?>

<svg:svg width="10cm" height="3cm" xmlns:svg="http://www.w3.org/2000/svg">
  <svg:title>Use01</svg:title>
  <svg:desc>Example Use01 - Simple case of 'use' on a 'rect'</svg:desc>
  <svg:defs>
    <svg:rect id="MyRect" width="6cm" height="1cm" style="fill:black"/>
  </svg:defs>
  <svg:use x="2cm" y="1cm" xlink:href="#MyRect" />
</svg:svg>