PB 6 beta 7 error says the following with this test code for vector image, SvgVectorOutput() command. SvgVectorOutput() is in the help files:
[22:17:06] [COMPILER] Line 28: SvgVectorOutput() is not a function, array, list, map or macro.
Code: Select all
UsePNGImageDecoder()
If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CanvasGadget(0, 100, 50, 150, 40)
LoadImage(0, "buttontest.png")
If StartVectorDrawing(CanvasVectorOutput(0))
AddPathBox(0, 0, 150, 40)
;AddPathBox(150, 75, 200, 50)
VectorSourceImage(ImageID(0), 255, ImageWidth(0), ImageHeight(0), #PB_VectorImage_Default)
StrokePath(150)
SvgVectorOutput("buttontest.svg", 150, 40)
StopVectorDrawing()
EndIf
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf