Page 1 of 1

PB5.40B3 SvgVectorOutput

Posted: Sat Sep 05, 2015 3:16 pm
by Falko
SvgVectorOutput ...nothing?

Code: Select all

If StartVectorDrawing(SvgVectorOutput("test.svg", 400, 200))

    AddPathBox(50, 50, 200, 50)
    AddPathBox(150, 75, 200, 50)
    VectorSourceColor(RGBA(255, 0, 0, 255))
    StrokePath(10)
  
    StopVectorDrawing()
  EndIf
SvgVectorOutput()
Test on Windows 10 Pro. And Message:

---------------------------
PureBasic
---------------------------
Line 1: SvgVectorOutput() is not a function, array, list, map or macro.
---------------------------
OK
---------------------------

Re: PB5.40B3 SvgVectorOutput

Posted: Sat Sep 05, 2015 3:32 pm
by ts-soft
Have you used Linux? It is Linux only!

Re: PB5.40B3 SvgVectorOutput

Posted: Sat Sep 05, 2015 3:59 pm
by Falko
Just you say, it's linux-Only.
Why? :?

Re: PB5.40B3 SvgVectorOutput

Posted: Sat Sep 05, 2015 4:01 pm
by ts-soft
On linux is always a api to use svg or pdf, on windows not!

Re: PB5.40B3 SvgVectorOutput

Posted: Sat Sep 05, 2015 4:08 pm
by Falko
okay, just it's clearly! :idea: