layout/reftests/svg/marker-orientation-02-ref.svg

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <svg xmlns="http://www.w3.org/2000/svg"
michael@0 6 xmlns:xlink="http://www.w3.org/1999/xlink">
michael@0 7 <title>Reference for test that marker orientation is correct at the end of
michael@0 8 arcs when orient="auto-start-reverse" is used</title>
michael@0 9 <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=769115 -->
michael@0 10
michael@0 11 <defs>
michael@0 12 <g id="m1" transform="translate(-20,-20)" fill="blue">
michael@0 13 <rect x="5" y="15" width="22" height="10"/>
michael@0 14 <path d="M 25,10 35,20 25,30 z"/>
michael@0 15 </g>
michael@0 16
michael@0 17 <g id="m2" transform="translate(-20,-20)" fill="red">
michael@0 18 <rect x="5" y="15" width="22" height="10"/>
michael@0 19 <path d="M 25,10 35,20 25,30 z"/>
michael@0 20 </g>
michael@0 21 </defs>
michael@0 22
michael@0 23 <g fill="none">
michael@0 24 <!-- arcs that go from the left of the circle to... -->
michael@0 25 <g>
michael@0 26 <!-- ...90 degrees anti-clockwise -->
michael@0 27 <use xlink:href="#m1" transform="translate(100,100)rotate(270)"/>
michael@0 28 <use xlink:href="#m2" transform="rotate(-90,150,100)translate(100,100)rotate(90)"/>
michael@0 29 <!-- ...180 degrees anti-clockwise -->
michael@0 30 <use xlink:href="#m2" transform="rotate(-180,150,100)translate(100,100)rotate(90)"/>
michael@0 31 <!-- ...270 degrees anti-clockwise -->
michael@0 32 <use xlink:href="#m2" transform="rotate(-270,150,100)translate(100,100)rotate(90)"/>
michael@0 33 </g>
michael@0 34
michael@0 35 <!-- arcs that go from the left of the circle to... -->
michael@0 36 <g transform="translate(250,0)">
michael@0 37 <!-- ...90 degrees anti-clockwise -->
michael@0 38 <use xlink:href="#m1" transform="translate(100,100)rotate(90)"/>
michael@0 39 <use xlink:href="#m2" transform="rotate(90,150,100)translate(100,100)rotate(-90)"/>
michael@0 40 <!-- ...180 degrees anti-clockwise -->
michael@0 41 <use xlink:href="#m2" transform="rotate(180,150,100)translate(100,100)rotate(-90)"/>
michael@0 42 <!-- ...270 degrees anti-clockwise -->
michael@0 43 <use xlink:href="#m2" transform="rotate(270,150,100)translate(100,100)rotate(-90)"/>
michael@0 44 </g>
michael@0 45
michael@0 46 <!-- arcs that go from the right of the circle to... -->
michael@0 47 <g transform="translate(0,250)">
michael@0 48 <!-- ...90 degrees anti-clockwise -->
michael@0 49 <use xlink:href="#m1" transform="translate(200,100)rotate(270)"/>
michael@0 50 <use xlink:href="#m2" transform="rotate(90,150,100)translate(200,100)rotate(90)"/>
michael@0 51 <!-- ...180 degrees anti-clockwise -->
michael@0 52 <use xlink:href="#m2" transform="rotate(180,150,100)translate(200,100)rotate(90)"/>
michael@0 53 <!-- ...270 degrees anti-clockwise -->
michael@0 54 <use xlink:href="#m2" transform="rotate(270,150,100)translate(200,100)rotate(90)"/>
michael@0 55 </g>
michael@0 56
michael@0 57 <!-- arcs that go from the right of the circle to... -->
michael@0 58 <g transform="translate(250,250)">
michael@0 59 <!-- ...90 degrees clockwise -->
michael@0 60 <use xlink:href="#m1" transform="translate(200,100)rotate(90)"/>
michael@0 61 <use xlink:href="#m2" transform="rotate(-90,150,100)translate(200,100)rotate(-90)"/>
michael@0 62 <!-- ...180 degrees clockwise -->
michael@0 63 <use xlink:href="#m2" transform="rotate(-180,150,100)translate(200,100)rotate(-90)"/>
michael@0 64 <!-- ...270 degrees clockwise -->
michael@0 65 <use xlink:href="#m2" transform="rotate(-270,150,100)translate(200,100)rotate(-90)"/>
michael@0 66 </g>
michael@0 67 </g>
michael@0 68
michael@0 69 </svg>

mercurial