Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
SVG minimal document - LODraw export
Last updated at 7:48 pm UTC on 22 October 2020
Minimal SVG export document from LibreOffice Draw; simplified.
To be used as a template for generating content with a Squeak script.

Note the definition of the viewport (width="210mm" and height="297mm", the size of an A4 sheet) and the definition of the viewbox (viewBox="0 0 21000 29700").

This means that the values given in the SVG commands (e.g. the circles) are interpreted as units of 1/100 mm.




<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.2" 

width="210mm" height="297mm" 
viewBox="0 0 21000 29700" preserveAspectRatio="xMidYMid" 

fill-rule="evenodd" stroke-width="28.222" stroke-linejoin="round" 
xmlns="http://www.w3.org/2000/svg" xmlns:ooo="http://xml.openoffice.org/svg/export" 
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:presentation="http://sun.com/xmlns/staroffice/presentation" 
xmlns:smil="http://www.w3.org/2001/SMIL20/" 
xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" 
xml:space="preserve">

<rect class="BoundingBox" stroke="none" fill="none" x="1126" y="1126" width="18798" height="18798"/>
       
<circle cx="2000" cy="2000" r="800" fill="yellow"/>
<circle cx="4000" cy="2000" r="800" fill="blue"/>
<circle cx="6000" cy="2000" r="800" fill="green"/>
<circle cx="8000" cy="2000" r="800" fill="red"/>

</svg>




LibreOffice