1
Index: trunk/examples/draw.py
2
===================================================================
3
--- trunk.orig/examples/draw.py 2009-04-11 19:18:15.000000000 -0400
4
+++ trunk/examples/draw.py 2009-11-05 06:06:25.000000000 -0500
8
# A drawed objects, consisting of either a single
9
-# romboid, or two romboids connected by a winding line
10
+# rhomboid, or two rhomboids connected by a winding line
13
def __init__(self, win, ev):
16
self.lines = [(ev.event_x, ev.event_y)]
18
- self.first = Romboid(self.win, ev)
19
+ self.first = Rhomboid(self.win, ev)
26
if len(self.lines) > 1:
27
- self.last = Romboid(self.win, ev)
28
+ self.last = Rhomboid(self.win, ev)
30
self.left = min(ev.event_x - 5, self.left)
31
self.right = max(ev.event_x + 5, self.right)
36
-# A romboid, drawed around the Movement endpoints
38
+# A rhomboid, drawed around the Movement endpoints
40
def __init__(self, win, ev):
47
- # Draw the segments of the romboid
48
+ # Draw the segments of the rhomboid
49
self.win.window.poly_line(self.win.gc, X.CoordModePrevious,
50
[(self.x, self.y - 5),
52
Index: trunk/examples/draw-proto.py
53
===================================================================
54
--- trunk.orig/examples/draw-proto.py 2009-04-11 19:18:15.000000000 -0400
55
+++ trunk/examples/draw-proto.py 2009-11-05 06:06:25.000000000 -0500
59
# A drawed objects, consisting of either a single
60
-# romboid, or two romboids connected by a winding line
61
+# rhomboid, or two rhomboids connected by a winding line
64
def __init__(self, win, ev):
67
self.lines = [(ev.event_x, ev.event_y)]
69
- self.first = Romboid(self.win, ev)
70
+ self.first = Rhomboid(self.win, ev)
77
if len(self.lines) > 1:
78
- self.last = Romboid(self.win, ev)
79
+ self.last = Rhomboid(self.win, ev)
81
self.left = min(ev.event_x - 5, self.left)
82
self.right = max(ev.event_x + 5, self.right)
87
-# A romboid, drawed around the Movement endpoints
89
+# A rhomboid, drawed around the Movement endpoints
91
def __init__(self, win, ev):
98
- # Draw the segments of the romboid
99
+ # Draw the segments of the rhomboid
100
PolyLine(self.win.d, None,