[gimp] app: enable cairo drawing in the free select tool
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: enable cairo drawing in the free select tool
- Date: Wed, 22 Sep 2010 22:01:34 +0000 (UTC)
commit f9a7bea24aae8105e724b335850e2c023f89c573
Author: Michael Natterer <mitch gimp org>
Date: Thu Sep 23 00:00:28 2010 +0200
app: enable cairo drawing in the free select tool
app/tools/gimpfreeselecttool.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpfreeselecttool.c b/app/tools/gimpfreeselecttool.c
index 2484c85..5d118da 100644
--- a/app/tools/gimpfreeselecttool.c
+++ b/app/tools/gimpfreeselecttool.c
@@ -48,7 +48,7 @@
#include "gimp-intl.h"
-#define HANDLE_SIZE 12
+#define HANDLE_SIZE 13
#define POINT_GRAB_THRESHOLD_SQ SQR(HANDLE_SIZE / 2)
#define POINT_SHOW_THRESHOLD_SQ SQR(HANDLE_SIZE * 7)
#define N_ITEMS_PER_ALLOC 1024
@@ -267,6 +267,8 @@ gimp_free_select_tool_init (GimpFreeSelectTool *fst)
priv->supress_handles = FALSE;
priv->last_click_time = NO_CLICK_TIME_AVAILABLE;
+
+ GIMP_DRAW_TOOL (tool)->use_cairo = TRUE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]