Page 1 of 1

box, roundLevel doesn't produce same corners

Posted: Tue Feb 07, 2017 10:53 am
by peceha
Hi,

is it normal behaviorfor BOX command that ROUNDLEVEL or CORNERA, CORNERB... arguments even if set to the same value produce a rectangle with every corner differently rounded?
For example:

Code: Select all

Box(0,0,64,64,#WHITE,{RoundLevel = 25})
Box(0,64,64,64,#WHITE,{CornerA=25, CornerB=25, CornerC=25, CornerD=25})
displays 2 rectangles with rounded corners but not even 1 corner looks like the others.

Thanks

Re: box, roundLevel doesn't produce same corners

Posted: Tue Feb 07, 2017 7:40 pm
by xabierpayet
setformstyle(#antialias)
Box(0,0,64,64,#WHITE,{RoundLevel = 25})
Box(0,64,64,64,#WHITE,{CornerA=25, CornerB=25, CornerC=25, CornerD=25})
WaitLeftMouse()

try now

Re: box, roundLevel doesn't produce same corners

Posted: Tue Feb 07, 2017 8:27 pm
by peceha
Thanks, that works :P