@@ -760,7 +760,8 @@ def round_rect(self, x, y, width, height, radius, color):
760
760
self ._curve_helper (x + radius , y + radius , radius , radius , 1 , color , False )
761
761
self ._curve_helper (x + width - radius - 1 , y + radius , radius , radius , 2 , color , False )
762
762
self ._curve_helper (x + radius , y + height - radius , radius , radius , 0 , color , False )
763
- self ._curve_helper (x + width - radius - 1 , y + height - radius , radius , radius , 3 , color , False )
763
+ self ._curve_helper (x + width - radius - 1 , y + height - radius , radius , radius , 3 , color ,
764
+ False )
764
765
self .hline (x + radius , y , width - (radius * 2 ) - 1 , color )
765
766
self .hline (x + radius , y + height , width - (radius * 2 ) - 1 , color )
766
767
self .vline (x , y + radius , height - (radius * 2 ), color )
@@ -781,7 +782,8 @@ def fill_round_rect(self, x, y, width, height, radius, color):
781
782
self ._curve_helper (x + radius , y + radius , radius , radius , 1 , color , True )
782
783
self ._curve_helper (x + width - radius - 1 , y + radius , radius , radius , 2 , color , True )
783
784
self ._curve_helper (x + radius , y + height - radius , radius , radius , 0 , color , True )
784
- self ._curve_helper (x + width - radius - 1 , y + height - radius , radius , radius , 3 , color , True )
785
+ self ._curve_helper (x + width - radius - 1 , y + height - radius , radius , radius , 3 , color ,
786
+ True )
785
787
self ._rect_helper (x + radius , y , x + width - radius - 1 , y + height - 1 , color , True )
786
788
self ._rect_helper (x , y + radius , x + width - 1 , y + height - radius - 1 , color , True )
787
789
0 commit comments