28 Oct
2019
28 Oct
'19
10 p.m.
On 28-10-2019 19:20, Hans Hagen wrote:
As a teaser ... it is also possible to embed svg code, as in:
\startbuffer[svgtest] <svg> <circle cx="50" cy="50" r="40" stroke="green" stroke-width="10" stroke-opacity="0.3" fill="red" fill-opacity="0.3" /> <circle cx="150" cy="50" r="40" stroke="green" stroke-width="10" fill="red" opacity="0.3" /> </svg> \stopbuffer
\startTEXpage \includesvgbuffer[svgtest] \stopTEXpage
\startTEXpage \includesvgbuffer[svgtest][offset=2bp] \stopTEXpage
Nice ! It seems that it does not retains the <g> grouping and layering in place. e.g. everything ends up in one layer and one group. .Floris