Page 1 of 1
Support to SVG
Posted: Thu Nov 20, 2025 10:21 pm
by threedslider
Hi,
Any support to SVG would be very useful to save in file as read/write from VectorDrawing
Hope that is working in this way.
Thanks
Re: Support to SVG
Posted: Thu Nov 20, 2025 11:29 pm
by mk-soft
PB-Help
Code: Select all
Result = SvgVectorOutput(Filename$, Width.d, Height.d [, Unit])
Re: Support to SVG
Posted: Fri Nov 21, 2025 7:50 am
by punak
I had recently suggested this.
viewtopic.php?t=87586
Re: Support to SVG
Posted: Fri Nov 21, 2025 9:41 am
by idle
this loads SVG and you can easily draw to svg too
viewtopic.php?t=87734
Code: Select all
*scene.AVGScene = CreateAVGScene(800, 600)
SVG = AVGCreateObject(*scene,100,0,"Tiger")
SvgLoad(*scene,SVG,"./tiger.svg",0,#PB_Image_Transparent,600,600)
If StartVectorDrawing(SvgVectorOutput("newTiger.svg", 800, 600))
AVGRenderScene(*scene)
StopVectorDrawing()
EndIf