Thats really strange. Doesent crash for me. I dont think that the problem would be that its drawing off screen.
This is the code that constarains the empty circle to the screen:
If x >= 0 And x < GraphicsWidth() And y >= 0 And y < GraphicsHeight()And this constarins the filled circles (x1 = x start pos; x2 = x end pos, etc):
If x1 < 0 Then x1 = 0
If x2 >= GraphicsWidth() Then x2 =GraphicsWidth()-1
If y1 < 0 Then y1 = 0
If y2 >= GraphicsHeight() Then y2 = GraphicsHeight()-1If either of you guys have Blitz Basic. You could try run the prog with the debug on. That might help me to find out what going wrong. Cheers.
EDIT:
edit: I think you need to check y1 and y2 more carefully in the 2nd loop.
Will do. /EDIT