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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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 arcs</title>
michael@0 8 <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=769115 -->
michael@0 9
michael@0 10 <defs>
michael@0 11 <g id="m1" transform="translate(-20,-20)" fill="blue">
michael@0 12 <rect x="5" y="15" width="22" height="10"/>
michael@0 13 <path d="M 25,10 35,20 25,30 z"/>
michael@0 14 </g>
michael@0 15
michael@0 16 <g id="m2" transform="translate(-20,-20)" fill="red">
michael@0 17 <rect x="5" y="15" width="22" height="10"/>
michael@0 18 <path d="M 25,10 35,20 25,30 z"/>
michael@0 19 </g>
michael@0 20 </defs>
michael@0 21
michael@0 22 <g fill="none">
michael@0 23 <!-- arcs that go from the left of the circle to... -->
michael@0 24 <g>
michael@0 25 <!-- ...90 degrees anti-clockwise -->
michael@0 26 <use xlink:href="#m1" transform="translate(100,100)rotate(90)"/>
michael@0 27 <use xlink:href="#m2" transform="rotate(-90,150,100)translate(100,100)rotate(90)"/>
michael@0 28 <!-- ...180 degrees anti-clockwise -->
michael@0 29 <use xlink:href="#m2" transform="rotate(-180,150,100)translate(100,100)rotate(90)"/>
michael@0 30 <!-- ...270 degrees anti-clockwise -->
michael@0 31 <use xlink:href="#m2" transform="rotate(-270,150,100)translate(100,100)rotate(90)"/>
michael@0 32 </g>
michael@0 33
michael@0 34 <!-- arcs that go from the left of the circle to... -->
michael@0 35 <g transform="translate(250,0)">
michael@0 36 <!-- ...90 degrees anti-clockwise -->
michael@0 37 <use xlink:href="#m1" transform="translate(100,100)rotate(-90)"/>
michael@0 38 <use xlink:href="#m2" transform="rotate(90,150,100)translate(100,100)rotate(-90)"/>
michael@0 39 <!-- ...180 degrees anti-clockwise -->
michael@0 40 <use xlink:href="#m2" transform="rotate(180,150,100)translate(100,100)rotate(-90)"/>
michael@0 41 <!-- ...270 degrees anti-clockwise -->
michael@0 42 <use xlink:href="#m2" transform="rotate(270,150,100)translate(100,100)rotate(-90)"/>
michael@0 43 </g>
michael@0 44
michael@0 45 <!-- arcs that go from the right of the circle to... -->
michael@0 46 <g transform="translate(0,250)">
michael@0 47 <!-- ...90 degrees anti-clockwise -->
michael@0 48 <use xlink:href="#m1" transform="translate(200,100)rotate(90)"/>
michael@0 49 <use xlink:href="#m2" transform="rotate(90,150,100)translate(200,100)rotate(90)"/>
michael@0 50 <!-- ...180 degrees anti-clockwise -->
michael@0 51 <use xlink:href="#m2" transform="rotate(180,150,100)translate(200,100)rotate(90)"/>
michael@0 52 <!-- ...270 degrees anti-clockwise -->
michael@0 53 <use xlink:href="#m2" transform="rotate(270,150,100)translate(200,100)rotate(90)"/>
michael@0 54 </g>
michael@0 55
michael@0 56 <!-- arcs that go from the right of the circle to... -->
michael@0 57 <g transform="translate(250,250)">
michael@0 58 <!-- ...90 degrees clockwise -->
michael@0 59 <use xlink:href="#m1" transform="translate(200,100)rotate(-90)"/>
michael@0 60 <use xlink:href="#m2" transform="rotate(-90,150,100)translate(200,100)rotate(-90)"/>
michael@0 61 <!-- ...180 degrees clockwise -->
michael@0 62 <use xlink:href="#m2" transform="rotate(-180,150,100)translate(200,100)rotate(-90)"/>
michael@0 63 <!-- ...270 degrees clockwise -->
michael@0 64 <use xlink:href="#m2" transform="rotate(-270,150,100)translate(200,100)rotate(-90)"/>
michael@0 65 </g>
michael@0 66 </g>
michael@0 67
michael@0 68 </svg>

mercurial