diff options
author | Dan Williams <dcbw@redhat.com> | 2006-10-19 13:52:15 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2006-10-19 13:52:15 (GMT) |
commit | 5a3e7c3c0a8e5fb525a5683d9144054092876c91 (patch) | |
tree | 714a949d042495db579c72e19aa02bad918e1bf6 /sugar/chat | |
parent | ea103dc6d8f678d2240f72a6558e9c73ea429402 (diff) |
Add get_points accessor
Diffstat (limited to 'sugar/chat')
-rw-r--r-- | sugar/chat/sketchpad/Sketch.py | 3 |
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 |