Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Oficina
(view source)
Revision as of 12:49, 3 April 2009
1 byte removed
,
12:49, 3 April 2009
→About your project
Line 95:
Line 95:
points = [(last[0]+size,last[1]), (coords[0]+size,coords[1]), (coords[0],coords[1]+size), (last[0],last[1]+size)]
points = [(last[0]+size,last[1]), (coords[0]+size,coords[1]), (coords[0],coords[1]+size), (last[0],last[1]+size)]
widget.pixmap.draw_polygon(widget.gc_brush,True,points)
widget.pixmap.draw_polygon(widget.gc_brush,True,points)
−
if last:
if last:
x = min(coords[0], last[0])
x = min(coords[0], last[0])
Nathalia.sautchuk
31
edits