[gimp] app: nicer fill style for canvas items
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: nicer fill style for canvas items
- Date: Wed, 22 Sep 2010 22:12:44 +0000 (UTC)
commit 5f349c352f3893bef2a260f5263386e3d69a0ed9
Author: Michael Natterer <mitch gimp org>
Date: Thu Sep 23 00:11:49 2010 +0200
app: nicer fill style for canvas items
Let's see if this works for anything else but filled handles
app/display/gimpcanvasitem.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpcanvasitem.c b/app/display/gimpcanvasitem.c
index 829d547..08bcd71 100644
--- a/app/display/gimpcanvasitem.c
+++ b/app/display/gimpcanvasitem.c
@@ -138,6 +138,10 @@ _gimp_canvas_item_fill (GimpCanvasItem *item,
GimpDisplayShell *shell,
cairo_t *cr)
{
+ gimp_display_shell_set_tool_bg_style (shell, cr);
+ cairo_set_line_width (cr, 2.0);
+ cairo_stroke_preserve (cr);
+
gimp_display_shell_set_tool_fg_style (shell, cr);
cairo_fill (cr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]