Commit 22531b3d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

added nick to chanted properties.

2008-02-06  Sven Neumann  <sven@gimp.org>

	* gegl/gegl-chant.h: added nick to chanted properties.

	* operations/blur/box-blur.c
	* operations/blur/gaussian-blur.c
	* operations/color/brightness-contrast.c
	* operations/color/contrast-curve.c
	* operations/color/levels.c
	* operations/color/mono-mixer.c
	* operations/color/threshold.c
	* operations/color/whitebalance.c
	* operations/core/clone.c
	* operations/core/convert-format.c
	* operations/core/crop.c
	* operations/core/shift.c
	* operations/enhance/bilateral-filter.c
	* operations/enhance/snn-mean.c
	* operations/generated/math.rb
	* operations/io/exr-load.cpp
	* operations/io/jpg-load.c
	* operations/io/load.c
	* operations/io/pixbuf.c
	* operations/io/png-load.c
	* operations/io/png-save.c
	* operations/io/save-buffer.c
	* operations/io/save-pixbuf.c
	* operations/io/svg-load.c
	* operations/meta/layer.c
	* operations/render/checkerboard.c
	* operations/render/color.c
	* operations/render/fractal-explorer.c
	* operations/render/introspect.c
	* operations/render/noise.c
	* operations/render/text.c
	* operations/svg/svg_huerotate.c
	* operations/svg/svg_luminancetoalpha.c
	* operations/svg/svg_matrix.c
	* operations/svg/svg_saturate.c
	* operations/transparency/opacity.c
	* operations/workshop/box-max.c
	* operations/workshop/box-min.c
	* operations/workshop/box-percentile.c
	* operations/workshop/c2g.c
	* operations/workshop/demosaic-bimedian.c
	* operations/workshop/demosaic-simple.c
	* operations/workshop/disc-percentile.c
	* operations/workshop/kuwahara-max.c
	* operations/workshop/kuwahara-min.c
	* operations/workshop/kuwahara.c
	* operations/workshop/lens-correct.c
	* operations/workshop/line-profile.c
	* operations/workshop/mandelbrot.c
	* operations/workshop/max-envelope.c
	* operations/workshop/min-envelope.c
	* operations/workshop/snn-percentile.c
	* operations/workshop/stress.c: changed accordingly.

svn path=/trunk/; revision=1978
parent 1e54826c
2008-02-06 Sven Neumann <sven@gimp.org>
* gegl/gegl-chant.h: added nick to chanted properties.
* operations/blur/box-blur.c
* operations/blur/gaussian-blur.c
* operations/color/brightness-contrast.c
* operations/color/contrast-curve.c
* operations/color/levels.c
* operations/color/mono-mixer.c
* operations/color/threshold.c
* operations/color/whitebalance.c
* operations/core/clone.c
* operations/core/convert-format.c
* operations/core/crop.c
* operations/core/shift.c
* operations/enhance/bilateral-filter.c
* operations/enhance/snn-mean.c
* operations/generated/math.rb
* operations/io/exr-load.cpp
* operations/io/jpg-load.c
* operations/io/load.c
* operations/io/pixbuf.c
* operations/io/png-load.c
* operations/io/png-save.c
* operations/io/save-buffer.c
* operations/io/save-pixbuf.c
* operations/io/svg-load.c
* operations/meta/layer.c
* operations/render/checkerboard.c
* operations/render/color.c
* operations/render/fractal-explorer.c
* operations/render/introspect.c
* operations/render/noise.c
* operations/render/text.c
* operations/svg/svg_huerotate.c
* operations/svg/svg_luminancetoalpha.c
* operations/svg/svg_matrix.c
* operations/svg/svg_saturate.c
* operations/transparency/opacity.c
* operations/workshop/box-max.c
* operations/workshop/box-min.c
* operations/workshop/box-percentile.c
* operations/workshop/c2g.c
* operations/workshop/demosaic-bimedian.c
* operations/workshop/demosaic-simple.c
* operations/workshop/disc-percentile.c
* operations/workshop/kuwahara-max.c
* operations/workshop/kuwahara-min.c
* operations/workshop/kuwahara.c
* operations/workshop/lens-correct.c
* operations/workshop/line-profile.c
* operations/workshop/mandelbrot.c
* operations/workshop/max-envelope.c
* operations/workshop/min-envelope.c
* operations/workshop/snn-percentile.c
* operations/workshop/stress.c: changed accordingly.
2008-02-05 Øyvind Kolås <pippin@gimp.org>
* operations/workshop/demosaic-simple.c: (demosaic): fixed rowstride
......
This diff is collapsed.
......@@ -17,7 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (radius, 0.0, 200.0, 4.0, "Radius of square pixel region, (width and height will be radius*2+1).")
gegl_chant_double (radius, "Radius", 0.0, 200.0, 4.0,
"Radius of square pixel region, (width and height will be radius*2+1).")
#else
......
......@@ -23,11 +23,11 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (std_dev_x, 0.0, 200.0, 4.0,
gegl_chant_double (std_dev_x, "Size X", 0.0, 200.0, 4.0,
"Standard deviation for the horizontal axis. (multiply by ~2 to get radius)")
gegl_chant_double (std_dev_y, 0.0, 200.0, 4.0,
gegl_chant_double (std_dev_y, "Size Y", 0.0, 200.0, 4.0,
"Standard deviation for the vertical axis. (multiply by ~2 to get radius.)")
gegl_chant_string (filter, NULL,
gegl_chant_string (filter, "Filter", NULL,
"Optional parameter to override the automatic selection of blur filter.")
#else
......
......@@ -23,8 +23,10 @@
* the the parameters are:
* property name, min, max, default, "description of property" */
gegl_chant_double (contrast, -5.0, 5.0, 1.0, "Range scale factor")
gegl_chant_double (brightness, -3.0, 3.0, 0.0, "Amount to increase brightness")
gegl_chant_double (contrast, "Contrast", -5.0, 5.0, 1.0,
"Range scale factor")
gegl_chant_double (brightness, "Brightness", -3.0, 3.0, 0.0,
"Amount to increase brightness")
/* this will create the instance structure for our use, and register the
* property with the given ranges, default values and a comment for the
......
......@@ -17,13 +17,14 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_int (sampling_points, 0, 65536, 0, "Number of curve sampling points. 0 for exact calculation.")
gegl_chant_curve (curve, "The contrast curve.")
gegl_chant_int (sampling_points, "Sample points", 0, 65536, 0,
"Number of curve sampling points. 0 for exact calculation.")
gegl_chant_curve (curve, "Curve", "The contrast curve.")
#else
#define GEGL_CHANT_TYPE_POINT_FILTER
#define GEGL_CHANT_C_FILE "contrast-curve.c"
#define GEGL_CHANT_C_FILE "contrast-curve.c"
#include "gegl-chant.h"
......
......@@ -18,11 +18,14 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (in_low, -1.0, 4.0, 0.0,
"Input luminance level to become lowest output")
gegl_chant_double (in_high, -1.0, 4.0, 1.0, "Input luminance level to become white.")
gegl_chant_double (out_low, -1.0, 4.0, 0.0, "Lowest luminance level in output")
gegl_chant_double (out_high, -1.0, 4.0, 1.0, "Highest luminance level in output")
gegl_chant_double (in_low, "Low input", -1.0, 4.0, 0.0,
"Input luminance level to become lowest output")
gegl_chant_double (in_high, "High input", -1.0, 4.0, 1.0,
"Input luminance level to become white.")
gegl_chant_double (out_low, "Low output", -1.0, 4.0, 0.0,
"Lowest luminance level in output")
gegl_chant_double (out_high, "High output",
-1.0, 4.0, 1.0, "Highest luminance level in output")
#else
......
......@@ -18,9 +18,9 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (red, -10.0, 10.0, 0.5, "Amount of red")
gegl_chant_double (green, -10.0, 10.0, 0.25, "Amount of green")
gegl_chant_double (blue, -10.0, 10.0, 0.25, "Amount of blue")
gegl_chant_double (red, "Red", -10.0, 10.0, 0.5, "Amount of red")
gegl_chant_double (green, "Green", -10.0, 10.0, 0.25, "Amount of green")
gegl_chant_double (blue, "Blue", -10.0, 10.0, 0.25, "Amount of blue")
#else
......
......@@ -17,7 +17,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (value, -10.0, 10.0, 0.5,
gegl_chant_double (value, "Threshold", -10.0, 10.0, 0.5,
"Global threshold level (used when there is no auxiliary input buffer).")
#else
......
......@@ -18,11 +18,11 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (high_a_delta, -2.0, 2.0, 0.0, "")
gegl_chant_double (high_b_delta, -2.0, 2.0, 0.0, "")
gegl_chant_double (low_a_delta, -2.0, 2.0, 0.0, "")
gegl_chant_double (low_b_delta, -2.0, 2.0, 0.0, "")
gegl_chant_double (saturation, -3.0, 3.0, 1.0, "")
gegl_chant_double (high_a_delta, "High a delta", -2.0, 2.0, 0.0, "")
gegl_chant_double (high_b_delta, "High b delta", -2.0, 2.0, 0.0, "")
gegl_chant_double (low_a_delta, "Low a delta", -2.0, 2.0, 0.0, "")
gegl_chant_double (low_b_delta, "Low b delta", -2.0, 2.0, 0.0, "")
gegl_chant_double (saturation, "Saturation", -3.0, 3.0, 1.0, "")
#else
......
......@@ -18,7 +18,8 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string (ref, "ID", "The reference ID used as input (for use in XML).")
gegl_chant_string (ref, "Reference", "ID",
"The reference ID used as input (for use in XML).")
#else
......
......@@ -20,7 +20,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string(format, "RGBA float", "Babl ouput format string")
gegl_chant_string(format, "Output format", "RGBA float",
"Babl ouput format string")
#else
......
......@@ -18,10 +18,10 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (x, -G_MAXFLOAT, G_MAXFLOAT, 0.0, "X")
gegl_chant_double (y, -G_MAXFLOAT, G_MAXFLOAT, 0.0, "Y")
gegl_chant_double (width, -G_MAXFLOAT, G_MAXFLOAT, 10.0, "Width")
gegl_chant_double (height, -G_MAXFLOAT, G_MAXFLOAT, 10.0, "Height")
gegl_chant_double (x, "X", -G_MAXFLOAT, G_MAXFLOAT, 0.0, "X")
gegl_chant_double (y, "Y", -G_MAXFLOAT, G_MAXFLOAT, 0.0, "Y")
gegl_chant_double (width, "Width", -G_MAXFLOAT, G_MAXFLOAT, 10.0, "Width")
gegl_chant_double (height, "Height", -G_MAXFLOAT, G_MAXFLOAT, 10.0, "Height")
#else
......
......@@ -18,8 +18,8 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (x, -G_MAXFLOAT, G_MAXFLOAT, 0.0, "X-axis shift")
gegl_chant_double (y, -G_MAXFLOAT, G_MAXFLOAT, 0.0, "Y-axis shift")
gegl_chant_double (x, "X", -G_MAXFLOAT, G_MAXFLOAT, 0.0, "X-axis shift")
gegl_chant_double (y, "Y", -G_MAXFLOAT, G_MAXFLOAT, 0.0, "Y-axis shift")
#else
......
......@@ -20,9 +20,10 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (blur_radius, 0.0, 70.0, 4.0,
gegl_chant_double (blur_radius, "Blur radius", 0.0, 70.0, 4.0,
"Radius of square pixel region, (width and height will be radius*2+1).")
gegl_chant_double (edge_preservation, 0.0, 70.0, 8.0, "Amount of edge preservation")
gegl_chant_double (edge_preservation, "Edge preservation", 0.0, 70.0, 8.0,
"Amount of edge preservation")
#else
......
......@@ -19,9 +19,10 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (radius, 0.0, 70.0, 8.0,
"Radius of square pixel region, (width and height will be radius*2+1.")
gegl_chant_int (pairs, 1, 2, 2, "Number of pairs higher number preserves more acute features")
gegl_chant_double (radius, "Radius", 0.0, 70.0, 8.0,
"Radius of square pixel region, (width and height will be radius*2+1)")
gegl_chant_int (pairs, "Pairs", 1, 2, 2,
"Number of pairs higher number preserves more acute features")
#else
......
......@@ -51,7 +51,7 @@ a.each do
file.write "
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (value, -G_MAXDOUBLE, G_MAXDOUBLE, #{item[2]}, \"global value used if aux doesn't contain data\")
gegl_chant_double (value, \"Value\", -G_MAXDOUBLE, G_MAXDOUBLE, #{item[2]}, \"global value used if aux doesn't contain data\")
#else
......
......@@ -20,7 +20,7 @@
#if GEGL_CHANT_PROPERTIES
gegl_chant_string (path, "", "Path of file to load.")
gegl_chant_string (path, "File", "", "Path of file to load.")
#else
......
......@@ -17,7 +17,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_path (path, "/tmp/romedalen.jpg", "Path of file to load.")
gegl_chant_path (path, "File", "", "Path of file to load.")
#else
......
......@@ -17,7 +17,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_path (path, "", "Path of file to load.")
gegl_chant_path (path, "File", "", "Path of file to load.")
#else
......
......@@ -16,7 +16,7 @@
* Copyright 2006 Øyvind Kolås <pippin@gimp.org>
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_pointer (pixbuf, "GdkPixbuf to use")
gegl_chant_pointer (pixbuf, "Pixbuf", "GdkPixbuf to use")
#else
#define GEGL_CHANT_TYPE_SOURCE
......
......@@ -19,7 +19,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_path (path, "/tmp/romedalen.png", "Path of file to load.")
gegl_chant_path (path, "File", "", "Path of file to load.")
#else
......
......@@ -18,8 +18,10 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string (path, "/tmp/fnord.png", "Target path and filename, use '-' for stdout.")
gegl_chant_int (compression, 1, 9, 1, "PNG compression level from 1 to 9")
gegl_chant_string (path, "File", "",
"Target path and filename, use '-' for stdout.")
gegl_chant_int (compression, "Compression",
1, 9, 1, "PNG compression level from 1 to 9")
#else
......
......@@ -17,7 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_pointer (buffer, "The location where to store the output GeglBuffer")
gegl_chant_pointer (buffer, "Buffer location",
"The location where to store the output GeglBuffer")
#else
......
......@@ -17,7 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_pointer (pixbuf, "The location where to store the output GdkPixuf.")
gegl_chant_pointer (pixbuf, "Pixbuf location",
"The location where to store the output GdkPixuf.")
#else
......
......@@ -17,9 +17,12 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_path (path, "/tmp/test.svg", "Path to SVG file to load")
gegl_chant_int (width, 0, G_MAXINT, 100, "Width for rendered image")
gegl_chant_int (height, 0, G_MAXINT, 100, "Height for rendered image")
gegl_chant_path (path, "File", "",
"Path to SVG file to load")
gegl_chant_int (width, "Width", 1, G_MAXINT, 100,
"Width for rendered image")
gegl_chant_int (height, "Height", 1, G_MAXINT, 100,
"Height for rendered image")
#else
......
......@@ -22,11 +22,16 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string(composite_op, "over", "Composite operation to use")
gegl_chant_double(opacity, 0.0, 1.0, 1.0, "Opacity")
gegl_chant_double(x, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, "horizontal position")
gegl_chant_double(y, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, "vertical position")
gegl_chant_path(src, "", "source datafile (png, jpg, raw, svg, bmp, tif, ..)")
gegl_chant_string(composite_op, "Operation", "over",
"Composite operation to use")
gegl_chant_double(opacity, "Opacity", 0.0, 1.0, 1.0,
"Opacity")
gegl_chant_double(x, "X", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
"Horizontal position")
gegl_chant_double(y, "Y", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
"Vertical position")
gegl_chant_path(src, "Source", "",
"Source datafile (png, jpg, raw, svg, bmp, tif, ...)")
#else
......
......@@ -17,12 +17,18 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_int (x, -G_MAXINT, G_MAXINT, 16, "Horizontal width of cells pixels.")
gegl_chant_int (y, -G_MAXINT, G_MAXINT, 16, "Vertical width of cells in pixels.")
gegl_chant_int (x_offset, -G_MAXINT, G_MAXINT, 0, "Horizontal offset (from origin) for start of grid.")
gegl_chant_int (y_offset, -G_MAXINT, G_MAXINT, 0, "Vertical offset (from origin) for start of grid.")
gegl_chant_color (color1, "black", "One of the cell colors (defaults to 'black')")
gegl_chant_color (color2, "white", "The other cell color (defaults to 'white')")
gegl_chant_int (x, "Width", 0, G_MAXINT, 16,
"Horizontal width of cells pixels.")
gegl_chant_int (y, "Height", 0, G_MAXINT, 16,
"Vertical width of cells in pixels.")
gegl_chant_int (x_offset, "X offset", -G_MAXINT, G_MAXINT, 0,
"Horizontal offset (from origin) for start of grid.")
gegl_chant_int (y_offset, "Y offset", -G_MAXINT, G_MAXINT, 0,
"Vertical offset (from origin) for start of grid.")
gegl_chant_color (color1, "Color", "black",
"One of the cell colors (defaults to 'black')")
gegl_chant_color (color2, "Other color", "white",
"The other cell color (defaults to 'white')")
#else
......
......@@ -17,7 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_color (value, "black", "The color to render (defaults to 'black')")
gegl_chant_color (value, "Color", "black",
"The color to render (defaults to 'black')")
#else
#define GEGL_CHANT_TYPE_SOURCE
......
......@@ -24,31 +24,47 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_int (width, 10, 10000000, 400, "Width")
gegl_chant_int (height, 10, 10000000, 400, "Height")
gegl_chant_int (fractaltype, 0, 8, 0, "Fractal Type")
gegl_chant_double (xmin, -3.0, 3.0, -2.0, "Left")
gegl_chant_double (xmax, -3.0, 3.0, 2.0, "Right")
gegl_chant_double (ymin, -3.0, 3.0, -2.0, "Top")
gegl_chant_double (ymax, -3.0, 3.0, 2.0, "Bottom")
gegl_chant_int (iter, 1, 1000, 50, "Iterations")
gegl_chant_double (cx, -2.5, 2.5, -0.75, "CX (Only Julia)")
gegl_chant_double (cy, -2.5, 2.5, 0.2, "CY (Only Julia)")
gegl_chant_double (redstretch, 0.0, 1.0, 1.0, "Red stretching factor")
gegl_chant_double (greenstretch, 0.0, 1.0, 1.0, "Green stretching factor")
gegl_chant_double (bluestretch, 0.0, 1.0, 1.0, "Blue stretching factor")
gegl_chant_int (redmode, 0, 2, 1, "Red application mode (0:SIN; 1:COS; 2:NONE)")
gegl_chant_int (greenmode, 0, 2, 1, "Green application mode (0:SIN; 1:COS; 2:NONE)")
gegl_chant_int (bluemode, 0, 2, 0, "Blue application mode (0:SIN; 1:COS; 2:NONE)")
gegl_chant_boolean (redinvert, FALSE, "Red inversion")
gegl_chant_boolean (greeninvert, FALSE, "Green inversion")
gegl_chant_boolean (blueinvert, FALSE, "Blue inversion")
gegl_chant_int (ncolors, 2, MAXNCOLORS, 256, "Number of colors")
gegl_chant_boolean (useloglog, FALSE, "Use loglog smoothing")
gegl_chant_int (width, "Width", 10, 10000000, 400, "Width")
gegl_chant_int (height, "Height", 10, 10000000, 400, "Height")
gegl_chant_int (fractaltype, "Fractal type", 0, 8, 0, "Fractal Type")
gegl_chant_double (xmin, "Left", -3.0, 3.0, -2.0, "Left")
gegl_chant_double (xmax, "Right", -3.0, 3.0, 2.0, "Right")
gegl_chant_double (ymin, "Top", -3.0, 3.0, -2.0, "Top")
gegl_chant_double (ymax, "Bottom", -3.0, 3.0, 2.0, "Bottom")
gegl_chant_int (iter, "Iterations", 1, 1000, 50, "Iterations")
gegl_chant_double (cx, "CX", -2.5, 2.5, -0.75, "CX (only Julia)")
gegl_chant_double (cy, "CY", -2.5, 2.5, 0.2, "CY (only Julia)")
gegl_chant_double (redstretch, "Red stretch", 0.0, 1.0, 1.0,
"Red stretching factor")
gegl_chant_double (greenstretch, "Green stretch", 0.0, 1.0, 1.0,
"Green stretching factor")
gegl_chant_double (bluestretch, "Blue stretch", 0.0, 1.0, 1.0,
"Blue stretching factor")
gegl_chant_int (redmode, "Red mode", 0, 2, 1,
"Red application mode (0:SIN; 1:COS; 2:NONE)")
gegl_chant_int (greenmode, "Green mode", 0, 2, 1,
"Green application mode (0:SIN; 1:COS; 2:NONE)")
gegl_chant_int (bluemode, "Blue mode", 0, 2, 0,
"Blue application mode (0:SIN; 1:COS; 2:NONE)")
gegl_chant_boolean (redinvert, "Red inversion", FALSE,
"Red inversion")
gegl_chant_boolean (greeninvert, "Green inversion", FALSE,
"Green inversion")
gegl_chant_boolean (blueinvert, "Blue inversion", FALSE,
"Blue inversion")
gegl_chant_int (ncolors, "Colors", 2, MAXNCOLORS, 256,
"Number of colors")
gegl_chant_boolean (useloglog, "Loglog smoothing", FALSE,
"Use loglog smoothing")
#else
......
......@@ -17,8 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_object(node, "GeglNode to introspect")
gegl_chant_pointer(buf, "Buffer")
gegl_chant_object(node, "Node", "GeglNode to introspect")
gegl_chant_pointer(buf, "Buffer", "Buffer")
#else
......
......@@ -17,11 +17,11 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (alpha, -G_MAXDOUBLE, G_MAXDOUBLE, 1.2, "")
gegl_chant_double (scale, -G_MAXDOUBLE, G_MAXDOUBLE, 1.8, "")
gegl_chant_double (zoff, -G_MAXDOUBLE, G_MAXDOUBLE, -1, "")
gegl_chant_double (seed, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, "")
gegl_chant_double (n, 0, 20.0, 3.0, "")
gegl_chant_double (alpha, "Alpha", -G_MAXDOUBLE, G_MAXDOUBLE, 1.2, "")
gegl_chant_double (scale, "Scale", -G_MAXDOUBLE, G_MAXDOUBLE, 1.8, "")
gegl_chant_double (zoff, "Z offset", -G_MAXDOUBLE, G_MAXDOUBLE, -1, "")
gegl_chant_double (seed, "Seed", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, "")
gegl_chant_int (n, "Iteration", 0, 20, 3, "")
#else
......
......@@ -17,20 +17,21 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_multiline (string, "Hello",
"String to display. (utf8)")
gegl_chant_string (font, "Sans",
"Font family. (utf8)")
gegl_chant_double (size, 1.0, 2048.0, 10.0,
gegl_chant_multiline (string, "Text", "Hello",
"String to display (utf8)")
gegl_chant_string (font, "Font family", "Sans",
"Font family (utf8)")
gegl_chant_double (size, "Size", 1.0, 2048.0, 10.0,
"Approximate height of text in pixels.")
gegl_chant_color (color, "white", "Color for the text (defaults to 'white')")
gegl_chant_int (wrap, -1, 1000000, -1,
gegl_chant_color (color, "Color", "white",
"Color for the text (defaults to 'white')")
gegl_chant_int (wrap, "Wrap width", -1, 1000000, -1,
"Sets the width in pixels at which long lines will wrap. Use -1 for no wrapping.")
gegl_chant_int (alignment, 0, 2, 0,
gegl_chant_int (alignment, "Justification", 0, 2, 0,
"Alignment for multi-line text (0=Left, 1=Center, 2=Right)")
gegl_chant_int (width, 0, 1000000, 0,
gegl_chant_int (width, "Width", 0, 1000000, 0,
"Rendered width in pixels. (read only)")
gegl_chant_int (height, 0, 1000000, 0,
gegl_chant_int (height, "Height", 0, 1000000, 0,
"Rendered height in pixels. (read only)")
#else
......
......@@ -23,7 +23,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string (values, "", "list of <number>s")
gegl_chant_string (values, "Values", "", "list of <number>s")
#else
......
......@@ -22,7 +22,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string (values, "", "list of <number>s")
gegl_chant_string (values, "Values", "", "list of <number>s")
#else
......
......@@ -22,7 +22,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string (values, "", "list of <number>s")
gegl_chant_string (values, "Values", "", "list of <number>s")
#else
......
......@@ -22,7 +22,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_string (values, "", "list of <number>s")
gegl_chant_string (values, "Values", "", "list of <number>s")
#else
......
......@@ -17,7 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (value, -10.0, 10.0, 0.5, "Global opacity value, used if no auxiliary input buffer is provided.")
gegl_chant_double (value, "Opacity", -10.0, 10.0, 0.5,
"Global opacity value, used if no auxiliary input buffer is provided.")
#else
......
......@@ -17,8 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (radius, 0.0, 200.0, 4.0,
"Radius of square pixel region, (width and height will be radius*2+1.)")
gegl_chant_double (radius, "Radius", 0.0, 200.0, 4.0,
"Radius of square pixel region (width and height will be radius*2+1)")
#else
......
......@@ -17,8 +17,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (radius, 0.0, 200.0, 4.0,
"Radius of square pixel region, (width and height will be radius*2+1.)")
gegl_chant_double (radius, "Radius", 0.0, 200.0, 4.0,
"Radius of square pixel region (width and height will be radius*2+1)")
#else
......
......@@ -19,9 +19,10 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_double (radius, 0.0, 70.0, 4.0,
"Radius of square pixel region, (width and height will be radius*2+1.")
gegl_chant_double (percentile, 0.0, 100.0, 50, "The percentile to compute, defaults to 50, which is a median filter.")
gegl_chant_double (radius, "Radius", 0.0, 70.0, 4.0,
"Radius of square pixel region (width and height will be radius*2+1)")
gegl_chant_double (percentile, "Percentile", 0.0, 100.0, 50,
"The percentile to compute, defaults to 50, which is a median filter.")
#else
......
......@@ -19,13 +19,18 @@
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_int (radius, 2, 5000.0, 384, "neighbourhood taken into account")
gegl_chant_int (samples, 0, 1000, 3, "number of samples to do")
gegl_chant_int (iterations, 0, 1000.0, 23, "number of iterations (length of exposure)")
gegl_chant_boolean (same_spray, FALSE, "")
gegl_chant_double (rgamma, 0.0, 8.0, 1.8, "gamma applied to radial distribution")
gegl_chant_double (strength, -8, 8, 0.5, "how much the local optimum separation should be taken into account.")
gegl_chant_double (gamma, 0.0, 10.0, 1.6, "post correction gamma.")
gegl_chant_int (radius, "Radius", 2, 5000.0, 384,
"Neighbourhood taken into account")
gegl_chant_int (samples, "Samples", 0, 1000, 3,
"Number of samples to do")
gegl_chant_int (iterations, "Iteration", 0, 1000.0, 23,
"Number of iterations (length of exposure)")
gegl_chant_boolean (same_spray, "Same spray", FALSE, "")
gegl_chant_double (rgamma, "Radial gamma", 0.0, 8.0, 1.8,
"Gamma applied to radial distribution")
gegl_chant_double (strength, "Strength", -8, 8, 0.5,
"How much the local optimum separation should be taken into account.")
gegl_chant_double (gamma, "Gamma", 0.0, 10.0, 1.6, "post correction gamma.")
#else
......
......@@ -18,7 +18,8 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
gegl_chant_int (pattern, 0, 3, 0, "Bayer pattern used, 0 seems to work for some nikon files, 2 for some Fuji files.")
gegl_chant_int (pattern, "Bayer pattern", 0, 3, 0,
"Bayer pattern used, 0 seems to work for some nikon files, 2 for some Fuji files.")
#else
......