PB5.40B3 SvgVectorOutput

Just starting out? Need help? Post your questions and find answers here.
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

PB5.40B3 SvgVectorOutput

Post 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
---------------------------
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PB5.40B3 SvgVectorOutput

Post by ts-soft »

Have you used Linux? It is Linux only!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Re: PB5.40B3 SvgVectorOutput

Post by Falko »

Just you say, it's linux-Only.
Why? :?
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PB5.40B3 SvgVectorOutput

Post by ts-soft »

On linux is always a api to use svg or pdf, on windows not!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Re: PB5.40B3 SvgVectorOutput

Post by Falko »

okay, just it's clearly! :idea:
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
Post Reply