For those interested I have got rounded boxes working both filled and unfilled with various radius corners.
Screenshot
Here is the code for this screenshot
do
d3d_rounded_box 100,10,500,75,10,0,rgb(255,255,255)
d3d_rounded_box 100,100,500,200,10,0,rgb(255,0,0)
d3d_rounded_box 100,220,500,320,30,1,rgb(255,0,0)
d3d_rounded_box 100,220,500,320,30,0,rgb(255,255,255)
d3d_starttext
d3d_boxtext 1,100,10,400,65,1,1,"d3d_rounded_box x1,y1,x2,y2,radius,filled,colour",rgb(255,255,255)
d3d_boxtext 1,100,100,400,100,1,1,"d3d_rounded_box x1,y1,x2,y2,radius,filled,colour"+chr$(13)+chr$(10)+"d3d_rounded_box 100,100,200,200,10,0,rgb(255,0,0)",rgb(255,255,255)
d3d_boxtext 1,100,220,400,100,1,1,"d3d_rounded_box 100,220,500,320,30,1,rgb(255,0,0)" +chr$(13)+chr$(10)+"d3d_rounded_box 100,220,500,320,30,0,rgb(255,255,255)",rgb(255,255,255)
d3d_endtext
loop
It will be a few days before it will be available as I'm looking to add d3d_polygon rotation as well.