{PARAM_INT32,"seed_type","Seed type (10 = current time, 11 = seed value)"},
{PARAM_INT32,"blur_seed","Seed value (used only if seed type is 11)"},
};
staticintnargs=sizeof(args)/sizeof(args[0]);
...
...
@@ -183,7 +185,7 @@ query()
staticintnreturn_vals=0;
constchar*blurb="Apply a 3x3 blurring convolution kernel to the specified drawable.";
constchar*help="This function randomly blurs the specified drawable, using a 3x3 blur. The type and percentage are user selectable. Blurring is not supported for indexed images.";
constchar*help="This plug-in randomly blurs the specified drawable, using a 3x3 blur. You control the percentage of the pixels that are blurred and the number of times blurring is applied. Indexed images are not supported.";
constchar*copyrights="Miles O'Neal, Spencer Kimball, Peter Mattis, Torsten Martinsen, Brian Degenhardt, Federico Mena Quintero, Stephen Norris, Daniel Cotting";
constchar*copyright_date="1995-1998";
...
...
@@ -266,18 +268,24 @@ run(char *name, int nparams, GParam *param, int *nreturn_vals,
{PARAM_INT32,"seed_type","Seed type (10 = current time, 11 = seed value)"},
{PARAM_INT32,"blur_seed","Seed value (used only if seed type is 11)"},
};
staticintnargs=sizeof(args)/sizeof(args[0]);
...
...
@@ -183,7 +185,7 @@ query()
staticintnreturn_vals=0;
constchar*blurb="Apply a 3x3 blurring convolution kernel to the specified drawable.";
constchar*help="This function randomly blurs the specified drawable, using a 3x3 blur. The type and percentage are user selectable. Blurring is not supported for indexed images.";
constchar*help="This plug-in randomly blurs the specified drawable, using a 3x3 blur. You control the percentage of the pixels that are blurred and the number of times blurring is applied. Indexed images are not supported.";
constchar*copyrights="Miles O'Neal, Spencer Kimball, Peter Mattis, Torsten Martinsen, Brian Degenhardt, Federico Mena Quintero, Stephen Norris, Daniel Cotting";
constchar*copyright_date="1995-1998";
...
...
@@ -266,18 +268,24 @@ run(char *name, int nparams, GParam *param, int *nreturn_vals,