From 5a3e7c3c0a8e5fb525a5683d9144054092876c91 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 19 Oct 2006 09:52:15 -0400 Subject: [PATCH] Add get_points accessor --- sugar/chat/sketchpad/Sketch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sugar/chat/sketchpad/Sketch.py b/sugar/chat/sketchpad/Sketch.py index 4dcfab36..0ddfb3c0 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