[gimp/soc-2013-combined-selection-tool: 214/230] app:selectbyshape Polygon tool Comments added



commit a397583bd3ae58efb415ebccddb7bc9a996d35dc
Author: Ajay Ramanathan <ajay 010293 gmail com>
Date:   Sat Sep 7 11:31:55 2013 +0530

    app:selectbyshape Polygon tool Comments added

 app/tools/gimpselectbyshapetool.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpselectbyshapetool.c b/app/tools/gimpselectbyshapetool.c
index 339f878..bb08baf 100644
--- a/app/tools/gimpselectbyshapetool.c
+++ b/app/tools/gimpselectbyshapetool.c
@@ -741,8 +741,18 @@ gimp_select_by_shape_tool_real_select (GimpSelectByShapeTool *rect_sel_tool,
      
      case GIMP_SHAPE_N_POLYGON :
       {
-        gdouble array1[6] = {x+(w/2),y,x+w,y+h,x,y+h} ; 
+       gdouble array1[6] = {x+(w/2),y,x+w,y+h,x,y+h} ; 
 
+       /*gimp_channel_select_polygon  (channel,
+                                   #const gchar    *undo_desc,
+                                   #gint            n_points,
+                                   #GimpVector2    *points,
+                                   operation,
+                                   options->antialias,
+                                   options->feather,
+                                   options->feather_radius,
+                                   options->feather_radius,
+                                   TRUE);*/
         gimp_channel_select_polygon  (channel,
                                    NULL,
                                    6,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]