Is Alwyn Bester still around?
I want to be able to quickly create Xojo pictures at various scales quickly from SVGs of chemical structures created by some open source software …
The Xojo pictures created from those SVGs by the Zoclee project pictures only shows part pf the structure, but If I open them in safari or other applications the whole molecule shows…
I don’t know if the software I am using to produce the SVGs is producing incorrect SVGs that other software knows how to deal with, or if there is an issue with the Zoclee code.
So Alwyn if you are still here and still maintaining the project here is the SVG content… I would really appreciate it if this could be made to work!
It is really shame that Xojo do snopt provide built in rendering of SVG pictures (even if not creation) because support for an Xplatform (even the WEB!) standard vector format that other apps understand and use is badly needed in Xojo IMO!
Thanks,
<?xml version="1.0"?>
<svg version="1.1" id="topsvg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:cml="http://www.xml-cml.org/schema" x="0" y="0" width="200px" height="200px" viewBox="0 0 100 100">
<title> - Open Babel Depiction</title>
<g transform="translate(0,0)">
<svg width="100" height="100" x="0" y="0" viewBox="0 0 287.846 200"
font-family="sans-serif" stroke="rgb(76,76,76)" stroke-width="2" stroke-linecap="round">
<line x1="109.3" y1="60.0" x2="74.6" y2="40.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="76.1" y1="42.6" x2="52.8" y2="56.1" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="73.1" y1="37.4" x2="49.8" y2="50.9" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="178.6" y1="100.0" x2="213.2" y2="120.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="216.2" y1="120.0" x2="216.2" y2="147.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="210.2" y1="120.0" x2="210.2" y2="147.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="213.2" y1="120.0" x2="236.6" y2="106.5" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="109.3" y1="60.0" x2="143.9" y2="40.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="118.1" y1="63.2" x2="142.3" y2="49.2" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="143.9" y1="40.0" x2="178.6" y2="60.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="178.6" y1="60.0" x2="178.6" y2="100.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="171.4" y1="66.0" x2="171.4" y2="94.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="178.6" y1="100.0" x2="143.9" y2="120.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="143.9" y1="120.0" x2="109.3" y2="100.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="142.3" y1="110.8" x2="118.1" y2="96.8" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<line x1="109.3" y1="100.0" x2="109.3" y2="60.0" stroke="rgb(76,76,76)" stroke-width="2.0"/>
<text x="34.000000" y="68.000000" fill="rgb(255,12,12)" stroke="rgb(255,12,12)" stroke-width="1" font-size="16" >O</text>
<text x="207.205081" y="168.000000" fill="rgb(255,12,12)" stroke="rgb(255,12,12)" stroke-width="1" font-size="16" >O</text>
<text x="241.846097" y="108.000000" fill="rgb(255,12,12)" stroke="rgb(255,12,12)" stroke-width="1" font-size="16" >OH</text>
</svg>
</g>
<text font-size="18.000000" fill ="gray" font-family="sans-serif"
x="10.000000" y="20.000000" ></text>
</svg>