why is the following Code draw the Circle on the Debugwindow?
(Spiderbasic 2.31 (x64) Linux)
Code: Select all
InitSprite()
OpenScreen(1000, 1000, 0, "TEST")
ClearScreen(RGB(0, 0, 255))
ImageGadget(1,10,10,900,900,0)
CreateImage(0, 800, 800)
If StartDrawing(ImageOutput(0))
Circle(100, 100, 100, RGB(255, 0, 0))
StopDrawing()
EndIf
SetGadgetState(1, ImageID(0))
FlipBuffers()