AddBoxToPath
Posted: Mon Jul 08, 2024 5:33 pm
While experimenting with anti-aliasing I found a way to trigger a crash in AddBoxToPath(). I have shortened it to the essential parts that cause the crash.
The loop runs up to 2.5. With step 0.01 it runs up to 0.5. With step 0.001 it runs to the end.
Tested on Windows.
The loop runs up to 2.5. With step 0.01 it runs up to 0.5. With step 0.001 it runs to the end.
Tested on Windows.
Code: Select all
EnableLayers()
For i=0 To 10 Step 0.1
DebugPrint(i)
StartPath(1)
MoveTo(1, 0, 0)
;DebugPrint("vor AddBoxToPath")
AddBoxToPath(1, 0, 0, i, 20)
;DebugPrint("vor ClosePath")
ClosePath(1)
FreePath(1)
Next