[gegl] operations: specify "axis" on pixelizes' ratio_x and ratio_y



commit c1b501840a8f94723707fb0181c98d259ab4420a
Author: Michael Natterer <mitch gimp org>
Date:   Sun May 18 23:17:34 2014 +0200

    operations: specify "axis" on pixelizes' ratio_x and ratio_y

 operations/common/pixelize.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/pixelize.c b/operations/common/pixelize.c
index 6d6eaa7..e5f3eca 100644
--- a/operations/common/pixelize.c
+++ b/operations/common/pixelize.c
@@ -53,12 +53,14 @@ gegl_property_int (size_y, _("Block height"),
 
 gegl_property_double (ratio_x, _("X size ratio"),
     "description", _("Horizontal size ratio of a pixel inside each block"),
-    "default", 1.0, "min", 0.0, "max", 1.0, 
+    "default", 1.0, "min", 0.0, "max", 1.0,
+    "axis", "x",
     NULL)
 
 gegl_property_double (ratio_y, _("Y size ratio"),
     "description", _("Vertical size ratio of a pixel inside each block"),
-    "default", 1.0, "min", 0.0, "max", 1.0, 
+    "default", 1.0, "min", 0.0, "max", 1.0,
+    "axis", "y",
     NULL)
 
 gegl_property_color  (background, _("Background color"),


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