Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Desenho.py
diff options
context:
space:
mode:
authorManuel QuiƱones <manuel.por.aca@gmail.com>2011-04-29 00:50:21 (GMT)
committer Manuel QuiƱones <manuel.por.aca@gmail.com>2011-04-29 00:50:21 (GMT)
commit7c6acbc9380e5e4136e11735600e58eba7cde29e (patch)
tree408baffa9d991a32c6fa82cb3203b276fd1a7995 /Desenho.py
parentb2f2d7e2c519504682236eba4cafa8287a777c59 (diff)
Stamp size different than brush size
Diffstat (limited to 'Desenho.py')
-rw-r--r--Desenho.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Desenho.py b/Desenho.py
index a530316..b0233f9 100644
--- a/Desenho.py
+++ b/Desenho.py
@@ -128,18 +128,18 @@ class Desenho:
widget.desenha = False
self._trace(widget, widget.gc_brush, coords, last, size, shape)
- def stamp(self, widget, coords, last, size=5):
+ def stamp(self, widget, coords, last, stamp_size=20):
"""Paint with stamp.
@param self -- Desenho.Desenho instance
@param last -- last of oldx
@param widget -- Area object (GtkDrawingArea)
@param coords -- Two value tuple
- @param size -- integer (default 30)
+ @param size -- integer (default 20)
"""
widget.desenha = False
- self._trace(widget, widget.gc_brush, coords, last, size, stamping=True)
+ self._trace(widget, widget.gc_brush, coords, last, stamp_size, stamping=True)
def rainbow(self, widget, coords, last, color, size=5, shape='circle'):
"""Paint with rainbow.