Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/chat
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2006-10-19 13:52:15 (GMT)
committer Dan Williams <dcbw@redhat.com>2006-10-19 13:52:15 (GMT)
commit5a3e7c3c0a8e5fb525a5683d9144054092876c91 (patch)
tree714a949d042495db579c72e19aa02bad918e1bf6 /sugar/chat
parentea103dc6d8f678d2240f72a6558e9c73ea429402 (diff)
Add get_points accessor
Diffstat (limited to 'sugar/chat')
-rw-r--r--sugar/chat/sketchpad/Sketch.py3
1 files changed, 3 insertions, 0 deletions
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