Logic Machine Forum
Visu SVG - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Visu SVG (/showthread.php?tid=2243)



Visu SVG - MarcusH - 17.09.2019

Hi,

Im wondering if it's possible to edit an svg image/code values with grp addresses. Not sure if this is even possible...

As a test I want to edit the width of a simple box with a grp address. If the value of the grp address increase it will get wider and vise versa.

Best regards,
Marcus H


Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="100mm"
   height="50mm"
   viewBox="0 0 100 50"
   version="1.1"
   id="svg874"
   inkscape:version="0.92.3 (2405546, 2018-03-11)"
   sodipodi:docname="Bar.svg">
  <defs
     id="defs868" />
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"



RE: Visu SVG - admin - 18.09.2019

See this thread: https://forum.logicmachine.net/showthread.php?tid=1831
You can apply scale transform instead of rotate. See this for more info: https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale#Scaling_X_and_Y_dimensions_separately_and_translating_the_origin