Import SVG as Images
Sannyasin Brahmanathaswami
brahma at hindu.org
Sat Feb 1 18:22:43 EST 2020
Alright!
Now have more questions. The is way OFF TOPIC but I thought I could ask, because some of you know the SVG standards better I do…
the SVG from Sketch, come with a default width and height and a viewBox of 100px
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 61.1 (89650) - https://sketch.com -->
<title>shum</title>
<desc>Created with Sketch.</desc>
<g id="shum" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42.68,61.5024 C44.2544,61.5024 45.7616,61.272 47.2016,60.8112 C48.6416,60.3504 49.9856,59.7792 51.2336,59.0976 C52.4816,58.416 53.624,57.6768 54.6608,56.88 C55.6976,56.0832 56.5856,55.344 57.3248,54.6624 C58.064,[snip] 38.4128,60.9504 39.4976,61.1712 C40.5824,61.392 41.6432,61.5024 42.68,61.5024 Z" id="y" fill="#231F20" fill-rule="nonzero"></path>
</g>
</svg>
But the object in the path parameter, that is the object itself, in way smaller than the "view port" I can easily parse these on the fly, and change to color but:
Is there a way to format the SVG to come in as is does in the SVG widget, where the "viewport" in constrained to the actual size the object?
It should be okay, it's in the dictionary. It requires the inclusion of the
XML extension in a standalone.
More information about the use-livecode
mailing list