[mapserver-commits] r11514 - in trunk/msautotest/renderers: .
expected
svn at osgeo.org
svn at osgeo.org
Sun Apr 10 06:27:02 EDT 2011
Author: tbonfort
Date: 2011-04-10 03:27:01 -0700 (Sun, 10 Apr 2011)
New Revision: 11514
Added:
trunk/msautotest/renderers/expected/line_offset.cairopng.png
trunk/msautotest/renderers/expected/line_offset.gif.png
trunk/msautotest/renderers/expected/line_offset.pdf.png
trunk/msautotest/renderers/expected/line_offset.png.png
trunk/msautotest/renderers/expected/line_offset.svg.png
trunk/msautotest/renderers/line_offset.map
Log:
add test for offset linesx
Added: trunk/msautotest/renderers/expected/line_offset.cairopng.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/renderers/expected/line_offset.cairopng.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/renderers/expected/line_offset.gif.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/renderers/expected/line_offset.gif.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/renderers/expected/line_offset.pdf.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/renderers/expected/line_offset.pdf.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/renderers/expected/line_offset.png.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/renderers/expected/line_offset.png.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/renderers/expected/line_offset.svg.png
===================================================================
--- trunk/msautotest/renderers/expected/line_offset.svg.png (rev 0)
+++ trunk/msautotest/renderers/expected/line_offset.svg.png 2011-04-10 10:27:01 UTC (rev 11514)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400pt" height="300pt" viewBox="0 0 400 300" version="1.1">
+<defs>
+<clipPath id="clip1">
+ <rect width="400" height="300"/>
+</clipPath>
+<g id="surface6" clip-path="url(#clip1)">
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 161.984375 109.878906 L 138.140625 85.335938 L 23.84375 97.960938 L 0 184.210938 L 62.410156 210.859375 L 173.203125 174.394531 L 166.894531 121.101562 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 231.40625 130.214844 L 261.558594 147.046875 L 275.582031 165.277344 L 291.710938 183.507812 L 312.75 187.71875 L 328.175781 201.039062 L 331.683594 203.84375 L 381.46875 213.664062 L 384.976562 188.417969 L 399 167.382812 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 37.777344 178.996094 L 125.929688 115.367188 L 145.8125 127.296875 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,100%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 165.570312 106.398438 L 140.023438 80.097656 L 19.925781 93.363281 L -5.984375 187.09375 L 62.179688 216.195312 L 178.648438 177.863281 L 171.859375 120.511719 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,100%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 228.96875 134.582031 L 258.222656 150.910156 L 271.730469 168.457031 L 289.082031 188.082031 L 310.476562 192.363281 L 324.980469 204.882812 L 329.515625 208.515625 L 385.695312 219.59375 L 389.769531 190.238281 L 403.160156 170.15625 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,100%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 40.707031 183.046875 L 126.183594 121.347656 L 143.242188 131.582031 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,0%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 156.984375 114.878906 L 133.140625 90.335938 L 18.84375 102.960938 L -5 189.210938 L 57.410156 215.859375 L 168.203125 179.394531 L 161.894531 126.101562 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,0%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 226.40625 135.214844 L 256.558594 152.046875 L 270.582031 170.277344 L 286.710938 188.507812 L 307.75 192.71875 L 323.175781 206.039062 L 326.683594 208.84375 L 376.46875 218.664062 L 379.976562 193.417969 L 394 172.382812 "/>
+<path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,0%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 32.777344 183.996094 L 120.929688 120.367188 L 140.8125 132.296875 "/>
+</g>
+</defs>
+<g id="surface2">
+<rect x="0" y="0" width="400" height="300" style="fill:rgb(100%,100%,100%);fill-opacity:1;stroke:none;"/>
+<use xlink:href="#surface6"/>
+</g>
+</svg>
Copied: trunk/msautotest/renderers/line_offset.map (from rev 11255, trunk/msautotest/renderers/line_simple.map)
===================================================================
--- trunk/msautotest/renderers/line_offset.map (rev 0)
+++ trunk/msautotest/renderers/line_offset.map 2011-04-10 10:27:01 UTC (rev 11514)
@@ -0,0 +1,34 @@
+map
+
+imagetype png
+size 400 300
+extent -166.245673 -55.551347 174.019748 53.883753
+shapepath "../misc/data"
+fontset "../misc/fonts.lst"
+symbolset "symbolset"
+
+
+layer
+ type line
+ data "testlines"
+ status default
+ name "lines"
+ class
+ style
+ color 0 0 255
+ width 1
+ end
+ style
+ color 0 255 255
+ width 1
+ offset 5 -99
+ end
+ style
+ color 255 0 255
+ width 1
+ offset -5 5
+ end
+ end
+end
+
+end
More information about the mapserver-commits
mailing list