It simply does not draw a rounded rectangle....
Grrrrrrrrr

Code: Select all
dc.l=OpenWindow(0,10,10,600,400,#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget,"teste")
If dc
Debug roundrect_(dc,50, 50, 250, 150, 50, 50)
Repeat
Event=WaitWindowEvent()
Until Event=#PB_EventCloseWindow
EndIf