Code: Select all
If OpenWindow(0, 0, 0, 300, 250, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CanvasGadget(0, 0, 0, 300, 250)
If StartVectorDrawing(CanvasVectorOutput(0))
AddPathCircle(150, 150, 100, 180, 0)
AddPathCircle(200, 150, 50, 0, 180, #PB_Path_CounterClockwise | #PB_Path_Connected)
StrokePath(10)
StopVectorDrawing()
EndIf
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf

The bug is triggered by using the #PB_Path_Connected flag.
For comparison, correct output on Linux:
