fix `draw-arc'
Closes PR 11399 (Thanks Stephen!)
This commit is contained in:
parent
90ac279096
commit
7940f14896
|
@ -891,7 +891,7 @@
|
||||||
|
|
||||||
(def/public (draw-arc [real? x] [real? y] [nonnegative-real? width] [nonnegative-real? height]
|
(def/public (draw-arc [real? x] [real? y] [nonnegative-real? width] [nonnegative-real? height]
|
||||||
[real? start-radians] [real? end-radians])
|
[real? start-radians] [real? end-radians])
|
||||||
(do-draw-arc 'draw-arc x y width height 0 2pi))
|
(do-draw-arc 'draw-arc x y width height start-radians end-radians))
|
||||||
|
|
||||||
(def/public (draw-ellipse [real? x] [real? y] [nonnegative-real? width] [nonnegative-real? height])
|
(def/public (draw-ellipse [real? x] [real? y] [nonnegative-real? width] [nonnegative-real? height])
|
||||||
(do-draw-arc 'draw-ellipse x y width height 0 2pi))
|
(do-draw-arc 'draw-ellipse x y width height 0 2pi))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user