chiark / gitweb /
webstead: SVG transform to turn output right way up
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 16 Sep 2025 20:14:47 +0000 (21:14 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:42:18 +0000 (21:42 +0000)
webstead.xhtml

index af2932deaacc88406f54f8d0f3838df9568a1738..2f17fe863a830a72dd2093c6f455cdf5b7e01ae3 100644 (file)
     <p><code id="output"></code></p>
     <div>
       <svg width="600" height="1000"  xmlns="http://www.w3.org/2000/svg">
-        <path id="rendered" fill="currentColor"/>
+        <g transform="scale(1,-1) translate(0,-800)">
+          <path id="rendered" fill="currentColor"/>
+        </g>
       </svg>
     </div>
   </body>