summaryrefslogtreecommitdiffhomepage
path: root/host/simu/inter/test
diff options
context:
space:
mode:
authorNicolas Schodet2012-03-30 20:50:49 +0200
committerNicolas Schodet2012-03-30 20:50:49 +0200
commit5547ac115e1a4e7c5b294e10c29550e8024990ae (patch)
tree9250d5972d8eba287ccedaef0ddce7236611775d /host/simu/inter/test
parent3c491b8c4ac9b6a502e510ba9d61cbeda2b4d128 (diff)
host/simu/inter: add draw_oval using a smooth polygon
Diffstat (limited to 'host/simu/inter/test')
-rw-r--r--host/simu/inter/test/test_drawable.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/simu/inter/test/test_drawable.py b/host/simu/inter/test/test_drawable.py
index a9c1bfef..9aa56ef1 100644
--- a/host/simu/inter/test/test_drawable.py
+++ b/host/simu/inter/test/test_drawable.py
@@ -34,6 +34,7 @@ class Test (Drawable):
self.draw_line ((20, 20), (25, 25), (80, 0), (0, 80), fill = 'green')
self.draw_line ((20, 20), (25, 25), (80, 0), (0, 80), smooth = True)
self.draw_circle ((40, -40), 10)
+ self.draw_oval ((40, -40), 10, 5)
self.draw_arc ((-40, 0), 20, start = pi / 4, extent = pi / 2)
class App (DrawableCanvas):