[gegl] operations: add some ui_meta() to gaussian-blur-iir
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: add some ui_meta() to gaussian-blur-iir
- Date: Thu, 22 Jan 2015 19:05:32 +0000 (UTC)
commit 70ff7286db6f88ee16b732e35f899493bc3c40a0
Author: Michael Natterer <mitch gimp org>
Date: Thu Jan 22 20:04:27 2015 +0100
operations: add some ui_meta() to gaussian-blur-iir
And some indentation...
operations/workshop/gaussian-blur-iir.c | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/operations/workshop/gaussian-blur-iir.c b/operations/workshop/gaussian-blur-iir.c
index b19483e..96c8f2e 100644
--- a/operations/workshop/gaussian-blur-iir.c
+++ b/operations/workshop/gaussian-blur-iir.c
@@ -38,25 +38,29 @@ enum_end (GeglGaussianBlurPolicy)
property_double (std_dev_x, _("Standard deviation X"), 1.5)
description (_("Standard deviation (spatial scale factor)"))
value_range (0.0, 1500.0)
- ui_range (0.24, 100.0)
- ui_gamma (3.0)
+ ui_range (0.24, 100.0)
+ ui_gamma (3.0)
+ ui_meta ("unit", "pixel-distance")
+ ui_meta ("axis", "x")
property_double (std_dev_y, _("Standard deviation Y"), 1.5)
description (_("Standard deviation (spatial scale factor)"))
value_range (0.0, 1500.0)
- ui_range (0.24, 100.0)
- ui_gamma (3.0)
-
-property_enum (filter, _("Filter"),
- GeglGaussianBlurFilter2, gegl_gaussian_blur_filter2,
- GEGL_GAUSSIAN_BLUR_FILTER2_AUTO)
+ ui_range (0.24, 100.0)
+ ui_gamma (3.0)
+ ui_meta ("unit", "pixel-distance")
+ ui_meta ("axis", "y")
+
+property_enum (filter, _("Filter"),
+ GeglGaussianBlurFilter2, gegl_gaussian_blur_filter2,
+ GEGL_GAUSSIAN_BLUR_FILTER2_AUTO)
description (_("How the gaussian kernel is discretized"))
-property_enum (abyss_policy, _("Abyss policy"), GeglGaussianBlurPolicy,
- gegl_gaussian_blur_policy, GEGL_GAUSSIAN_BLUR_ABYSS_NONE)
+property_enum (abyss_policy, _("Abyss policy"), GeglGaussianBlurPolicy,
+ gegl_gaussian_blur_policy, GEGL_GAUSSIAN_BLUR_ABYSS_NONE)
description (_("How image edges are handled"))
-property_boolean (clip_extent, _("Clip to the input extent"), TRUE)
+property_boolean (clip_extent, _("Clip to the input extent"), TRUE)
description (_("Should the output extent be clipped to the input extent"))
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]