
Edit: se serais peut être bien un bug, regardez se code:
Code : Tout sélectionner
If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CanvasGadget(0, 0, 0, 400, 200)
If StartVectorDrawing(CanvasVectorOutput(0))
AddPathBox(50, 50, 194, 85)
VectorSourceColor(RGBA(255, 0, 0, 255))
DotPath(20, 40)
StopVectorDrawing()
EndIf
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf