From 5547ac115e1a4e7c5b294e10c29550e8024990ae Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 30 Mar 2012 20:50:49 +0200 Subject: host/simu/inter: add draw_oval using a smooth polygon --- host/simu/inter/test/test_drawable.py | 1 + 1 file changed, 1 insertion(+) (limited to 'host/simu/inter/test/test_drawable.py') 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): -- cgit v1.2.3