[gimp] app: proper line caps and joins for canvas items
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: proper line caps and joins for canvas items
- Date: Wed, 22 Sep 2010 22:20:16 +0000 (UTC)
commit c80cea5937cdb5214aa38fd7da9f4e547ad5ab43
Author: Michael Natterer <mitch gimp org>
Date: Thu Sep 23 00:19:44 2010 +0200
app: proper line caps and joins for canvas items
app/display/gimpdisplayshell-style.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-style.c b/app/display/gimpdisplayshell-style.c
index 86b3028..bcb19d1 100644
--- a/app/display/gimpdisplayshell-style.c
+++ b/app/display/gimpdisplayshell-style.c
@@ -326,6 +326,8 @@ gimp_display_shell_set_tool_bg_style (GimpDisplayShell *shell,
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
g_return_if_fail (cr != NULL);
+ cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
+ cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND);
cairo_set_line_width (cr, 3.0);
gimp_cairo_set_source_rgba (cr, &tool_bg);
}
@@ -337,6 +339,8 @@ gimp_display_shell_set_tool_fg_style (GimpDisplayShell *shell,
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
g_return_if_fail (cr != NULL);
+ cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
+ cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND);
cairo_set_line_width (cr, 1.0);
gimp_cairo_set_source_rgba (cr, &tool_fg);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]