From 1cbc7b2a88db47101cdd22aa32519946c877997c Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Fri, 08 Apr 2011 20:32:45 +0000 Subject: Implement a custom widget to show in the toolbar the brush shape, color and size --- (limited to 'Desenho.py') diff --git a/Desenho.py b/Desenho.py index 9b4c771..4f8f196 100644 --- a/Desenho.py +++ b/Desenho.py @@ -587,7 +587,7 @@ class Desenho: layout = widget.janela.textview.create_pango_layout(text) - widget.pixmap.draw_layout(widget.gc, + widget.pixmap.draw_layout(widget.gc_brush, widget.oldx, widget.oldy, layout) widget.pixmap_temp.draw_layout(widget.gc, widget.oldx, widget.oldy, layout) -- cgit v0.9.1