I'm trying to draw a 3-pixel-wide circle with no pixel gaps in it. See code below and image of the problem. Should be simple? I can't work it out.
The inside of the circle must be transparent, too, because I intend to place it over another image to highlight something. Thanks.
Code: Select all
If OpenWindow(0, 400, 200, 200, 200, "Circle", #PB_Window_SystemMenu)
If CreateImage(0, 200, 200) And StartDrawing(ImageOutput(0))
DrawingMode(#PB_2DDrawing_Outlined)
Circle(100, 100, 90, #Red)
Circle(100, 100, 89, #Red)
Circle(100, 100, 88, #Red)
StopDrawing()
ImageGadget(0, 0, 0, 200, 200, ImageID(0))
EndIf
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf