From 5a3e7c3c0a8e5fb525a5683d9144054092876c91 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 19 Oct 2006 13:52:15 +0000 Subject: Add get_points accessor --- (limited to 'sugar') diff --git a/sugar/chat/sketchpad/Sketch.py b/sugar/chat/sketchpad/Sketch.py index 4dcfab3..0ddfb3c 100644 --- a/sugar/chat/sketchpad/Sketch.py +++ b/sugar/chat/sketchpad/Sketch.py @@ -24,6 +24,9 @@ class Sketch: def add_point(self, x, y): self._points.append((x, y)) + + def get_points(self): + return self._points def draw(self, ctx): start = True -- cgit v0.9.1