[mapserver-commits] r12710 - in trunk/msautotest/renderers: . expected

svn at osgeo.org svn at osgeo.org
Thu Oct 27 06:25:17 EDT 2011


Author: tbonfort
Date: 2011-10-27 03:25:17 -0700 (Thu, 27 Oct 2011)
New Revision: 12710

Added:
   trunk/msautotest/renderers/expected/line_pattern_offset.cairopng.png
   trunk/msautotest/renderers/expected/line_pattern_offset.pdf.png
   trunk/msautotest/renderers/expected/line_pattern_offset.png.png
   trunk/msautotest/renderers/expected/line_pattern_offset.svg.png
   trunk/msautotest/renderers/line_pattern_offset.map
Log:
add test for line pattern offset #3879


Added: trunk/msautotest/renderers/expected/line_pattern_offset.cairopng.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/expected/line_pattern_offset.cairopng.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/expected/line_pattern_offset.pdf.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/expected/line_pattern_offset.pdf.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/expected/line_pattern_offset.png.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/expected/line_pattern_offset.png.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/expected/line_pattern_offset.svg.png
===================================================================
--- trunk/msautotest/renderers/expected/line_pattern_offset.svg.png	                        (rev 0)
+++ trunk/msautotest/renderers/expected/line_pattern_offset.svg.png	2011-10-27 10:25:17 UTC (rev 12710)
@@ -0,0 +1,40 @@
+<?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="400pt" viewBox="0 0 400 400" version="1.1">
+<defs>
+<clipPath id="clip1">
+  <rect width="400" height="400"/>
+</clipPath>
+<g id="surface6" clip-path="url(#clip1)">
+<path style="fill:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(100%,0%,0%);stroke-opacity:1;stroke-dasharray:45,5;stroke-miterlimit:10;" d="M 19.949219 349.125 L 379.050781 -14.960938 "/>
+<path style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-dasharray:25,25;stroke-miterlimit:10;" d="M 20.660156 349.828125 L 379.761719 -14.261719 "/>
+</g>
+<clipPath id="clip2">
+  <rect width="400" height="400"/>
+</clipPath>
+<g id="surface8" clip-path="url(#clip2)">
+<path style="fill:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:45,5;stroke-miterlimit:10;" d="M 19.949219 379.050781 L 379.050781 19.949219 "/>
+<path style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-dasharray:25,25;stroke-dashoffset:35;stroke-miterlimit:10;" d="M 20.65625 379.757812 L 379.757812 20.65625 "/>
+</g>
+<clipPath id="clip3">
+  <rect width="400" height="400"/>
+</clipPath>
+<g id="surface10" clip-path="url(#clip3)">
+<path style="fill:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:45,5;stroke-miterlimit:10;" d="M 19.949219 394.011719 L 379.050781 34.914062 "/>
+<path style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-dasharray:25,25;stroke-dashoffset:40;stroke-miterlimit:10;" d="M 20.65625 394.71875 L 379.757812 35.621094 "/>
+</g>
+<clipPath id="clip4">
+  <rect width="400" height="400"/>
+</clipPath>
+<g id="surface12" clip-path="url(#clip4)">
+<path style="fill:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:45,5;stroke-miterlimit:10;" d="M 19.949219 364.085938 L 379.050781 4.988281 "/>
+<path style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-dasharray:25,25;stroke-dashoffset:45;stroke-miterlimit:10;" d="M 20.65625 364.792969 L 379.757812 5.695312 "/>
+</g>
+</defs>
+<g id="surface2">
+<rect x="0" y="0" width="400" height="400" style="fill:rgb(100%,100%,100%);fill-opacity:1;stroke:none;"/>
+<use xlink:href="#surface6"/>
+<use xlink:href="#surface8"/>
+<use xlink:href="#surface10"/>
+<use xlink:href="#surface12"/>
+</g>
+</svg>

Added: trunk/msautotest/renderers/line_pattern_offset.map
===================================================================
--- trunk/msautotest/renderers/line_pattern_offset.map	                        (rev 0)
+++ trunk/msautotest/renderers/line_pattern_offset.map	2011-10-27 10:25:17 UTC (rev 12710)
@@ -0,0 +1,106 @@
+map
+
+imagetype png
+size 400 400
+extent 0 0 400 400
+
+layer
+    type line
+    status default
+    name "lines"
+    class
+        style
+          color 255 0 0
+          width 4
+          pattern 45 5 end
+          linecap butt
+        end
+        style
+          color 255 255 255
+          width 2
+          offset 1 -99
+          pattern 25 25 end
+          linecap butt
+        end
+    end
+    feature
+      points 20 50 380 415 end
+    end
+end
+
+layer
+    type line
+    status default
+    name "lines"
+    class
+        style
+          color 0 0 0
+          width 4
+          pattern 45 5 end
+          linecap butt
+        end
+        style
+          color 255 255 255
+          width 2
+          offset 1 -99
+          initialgap 15
+          pattern 25 25 end
+          linecap butt
+        end
+    end
+    feature
+      points 20 20 380 380 end
+    end
+end
+
+layer
+    type line
+    status default
+    name "lines"
+    class
+        style
+          color 0 0 0
+          width 4
+          pattern 45 5 end
+          linecap butt
+        end
+        style
+          color 255 255 255
+          width 2
+          offset 1 -99
+          initialgap 10
+          pattern 25 25 end
+          linecap butt
+        end
+    end
+    feature
+      points 20 5 380 365 end
+    end
+end
+
+layer
+    type line
+    status default
+    name "lines"
+    class
+        style
+          color 0 0 0
+          width 4
+          pattern 45 5 end
+          linecap butt
+        end
+        style
+          color 255 255 255
+          width 2
+          offset 1 -99
+          initialgap 5
+          pattern 25 25 end
+          linecap butt
+        end
+    end
+    feature
+      points 20 35 380 395 end
+    end
+end
+
+end



More information about the mapserver-commits mailing list