tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/brushes.pdb

2006-03-25  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/context.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/paint_tools.pdb
	* tools/pdbgen/pdb/plug_in.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/selection_tools.pdb
	* tools/pdbgen/pdb/text_tool.pdb: removed all ':' before and all
	'()' around %%desc%%.

	* tools/pdbgen/app.pl: add () to int32, float and boolean
	descriptions automatically. They all look the same now.

	* tools/pdbgen/lib.pl: tweaked regex so %%desc%% doesn't appear in
	libgimp API docs.

	* app/pdb/brush_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/channel_cmds.c
	* app/pdb/color_cmds.c
	* app/pdb/context_cmds.c
	* app/pdb/floating_sel_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/paint_tools_cmds.c
	* app/pdb/plug_in_cmds.c
	* app/pdb/selection_cmds.c
	* app/pdb/selection_tools_cmds.c
	* app/pdb/text_tool_cmds.c
	* libgimp/gimpedit_pdb.c
	* libgimp/gimpplugin_pdb.c: regenerated.
This commit is contained in:
Michael Natterer 2006-03-24 23:23:21 +00:00 committed by Michael Natterer
parent 30fb7c0103
commit 0de4f68090
34 changed files with 197 additions and 154 deletions

View File

@ -1,3 +1,45 @@
2006-03-25 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/brush.pdb
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/color.pdb
* tools/pdbgen/pdb/context.pdb
* tools/pdbgen/pdb/edit.pdb
* tools/pdbgen/pdb/gradient.pdb
* tools/pdbgen/pdb/gradient_select.pdb
* tools/pdbgen/pdb/gradients.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/paint_tools.pdb
* tools/pdbgen/pdb/plug_in.pdb
* tools/pdbgen/pdb/selection.pdb
* tools/pdbgen/pdb/selection_tools.pdb
* tools/pdbgen/pdb/text_tool.pdb: removed all ':' before and all
'()' around %%desc%%.
* tools/pdbgen/app.pl: add () to int32, float and boolean
descriptions automatically. They all look the same now.
* tools/pdbgen/lib.pl: tweaked regex so %%desc%% doesn't appear in
libgimp API docs.
* app/pdb/brush_cmds.c
* app/pdb/brushes_cmds.c
* app/pdb/channel_cmds.c
* app/pdb/color_cmds.c
* app/pdb/context_cmds.c
* app/pdb/floating_sel_cmds.c
* app/pdb/image_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/paint_tools_cmds.c
* app/pdb/plug_in_cmds.c
* app/pdb/selection_cmds.c
* app/pdb/selection_tools_cmds.c
* app/pdb/text_tool_cmds.c
* libgimp/gimpedit_pdb.c
* libgimp/gimpplugin_pdb.c: regenerated.
2006-03-24 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/channel.pdb

View File

@ -808,7 +808,7 @@ static ProcArg brush_get_spacing_outargs[] =
{
GIMP_PDB_INT32,
"spacing",
"The brush spacing: 0 <= spacing <= 1000"
"The brush spacing (0 <= spacing <= 1000)"
}
};
@ -872,7 +872,7 @@ static ProcArg brush_set_spacing_inargs[] =
{
GIMP_PDB_INT32,
"spacing",
"The brush spacing: 0 <= spacing <= 1000"
"The brush spacing (0 <= spacing <= 1000)"
}
};

View File

@ -213,7 +213,7 @@ static ProcArg brushes_get_brush_outargs[] =
{
GIMP_PDB_INT32,
"spacing",
"The brush spacing: 0 <= spacing <= 1000"
"The brush spacing (0 <= spacing <= 1000)"
}
};
@ -265,7 +265,7 @@ static ProcArg brushes_get_spacing_outargs[] =
{
GIMP_PDB_INT32,
"spacing",
"The brush spacing: 0 <= spacing <= 1000"
"The brush spacing (0 <= spacing <= 1000)"
}
};
@ -313,7 +313,7 @@ static ProcArg brushes_set_spacing_inargs[] =
{
GIMP_PDB_INT32,
"spacing",
"The brush spacing: 0 <= spacing <= 1000"
"The brush spacing (0 <= spacing <= 1000)"
}
};
@ -422,12 +422,12 @@ static ProcArg brushes_get_brush_data_outargs[] =
{
GIMP_PDB_FLOAT,
"opacity",
"The brush opacity: 0 <= opacity <= 100"
"The brush opacity (0 <= opacity <= 100)"
},
{
GIMP_PDB_INT32,
"spacing",
"The brush spacing: 0 <= spacing <= 1000"
"The brush spacing (0 <= spacing <= 1000)"
},
{
GIMP_PDB_INT32,

View File

@ -125,12 +125,12 @@ static ProcArg channel_new_inargs[] =
{
GIMP_PDB_INT32,
"width",
"The channel width: (1 <= width)"
"The channel width (1 <= width)"
},
{
GIMP_PDB_INT32,
"height",
"The channel height: (1 <= height)"
"The channel height (1 <= height)"
},
{
GIMP_PDB_STRING,
@ -140,7 +140,7 @@ static ProcArg channel_new_inargs[] =
{
GIMP_PDB_FLOAT,
"opacity",
"The channel opacity: (0 <= opacity <= 100)"
"The channel opacity (0 <= opacity <= 100)"
},
{
GIMP_PDB_COLOR,

View File

@ -158,12 +158,12 @@ static ProcArg brightness_contrast_inargs[] =
{
GIMP_PDB_INT32,
"brightness",
"Brightness adjustment: (-127 <= brightness <= 127)"
"Brightness adjustment (-127 <= brightness <= 127)"
},
{
GIMP_PDB_INT32,
"contrast",
"Contrast adjustment: (-127 <= contrast <= 127)"
"Contrast adjustment (-127 <= contrast <= 127)"
}
};
@ -264,27 +264,27 @@ static ProcArg levels_inargs[] =
{
GIMP_PDB_INT32,
"low-input",
"Intensity of lowest input: (0 <= low_input <= 255)"
"Intensity of lowest input (0 <= low_input <= 255)"
},
{
GIMP_PDB_INT32,
"high-input",
"Intensity of highest input: (0 <= high_input <= 255)"
"Intensity of highest input (0 <= high_input <= 255)"
},
{
GIMP_PDB_FLOAT,
"gamma",
"Gamma correction factor: (0.1 <= gamma <= 10)"
"Gamma correction factor (0.1 <= gamma <= 10)"
},
{
GIMP_PDB_INT32,
"low-output",
"Intensity of lowest output: (0 <= low_output <= 255)"
"Intensity of lowest output (0 <= low_output <= 255)"
},
{
GIMP_PDB_INT32,
"high-output",
"Intensity of highest output: (0 <= high_output <= 255)"
"Intensity of highest output (0 <= high_output <= 255)"
}
};
@ -478,7 +478,7 @@ static ProcArg posterize_inargs[] =
{
GIMP_PDB_INT32,
"levels",
"Levels of posterization: (2 <= levels <= 255)"
"Levels of posterization (2 <= levels <= 255)"
}
};
@ -1092,17 +1092,17 @@ static ProcArg color_balance_inargs[] =
{
GIMP_PDB_FLOAT,
"cyan-red",
"Cyan-Red color balance: (-100 <= cyan_red <= 100)"
"Cyan-Red color balance (-100 <= cyan_red <= 100)"
},
{
GIMP_PDB_FLOAT,
"magenta-green",
"Magenta-Green color balance: (-100 <= magenta_green <= 100)"
"Magenta-Green color balance (-100 <= magenta_green <= 100)"
},
{
GIMP_PDB_FLOAT,
"yellow-blue",
"Yellow-Blue color balance: (-100 <= yellow_blue <= 100)"
"Yellow-Blue color balance (-100 <= yellow_blue <= 100)"
}
};
@ -1203,17 +1203,17 @@ static ProcArg colorize_inargs[] =
{
GIMP_PDB_FLOAT,
"hue",
"Hue in degrees: (0 <= hue <= 360)"
"Hue in degrees (0 <= hue <= 360)"
},
{
GIMP_PDB_FLOAT,
"saturation",
"Saturation in percent: (0 <= saturation <= 100)"
"Saturation in percent (0 <= saturation <= 100)"
},
{
GIMP_PDB_FLOAT,
"lightness",
"Lightness in percent: (-100 <= lightness <= 100)"
"Lightness in percent (-100 <= lightness <= 100)"
}
};
@ -1482,17 +1482,17 @@ static ProcArg hue_saturation_inargs[] =
{
GIMP_PDB_FLOAT,
"hue-offset",
"Hue offset in degrees: (-180 <= hue_offset <= 180)"
"Hue offset in degrees (-180 <= hue_offset <= 180)"
},
{
GIMP_PDB_FLOAT,
"lightness",
"Lightness modification: (-100 <= lightness <= 100)"
"Lightness modification (-100 <= lightness <= 100)"
},
{
GIMP_PDB_FLOAT,
"saturation",
"Saturation modification: (-100 <= saturation <= 100)"
"Saturation modification (-100 <= saturation <= 100)"
}
};
@ -1585,12 +1585,12 @@ static ProcArg threshold_inargs[] =
{
GIMP_PDB_INT32,
"low-threshold",
"The low threshold value: 0 <= low_threshold <= 255"
"The low threshold value (0 <= low_threshold <= 255)"
},
{
GIMP_PDB_INT32,
"high-threshold",
"The high threshold value: 0 <= high_threshold <= 255"
"The high threshold value (0 <= high_threshold <= 255)"
}
};

View File

@ -511,7 +511,7 @@ static ProcArg context_get_opacity_outargs[] =
{
GIMP_PDB_FLOAT,
"opacity",
"The opacity: 0 <= opacity <= 100"
"The opacity (0 <= opacity <= 100)"
}
};
@ -559,7 +559,7 @@ static ProcArg context_set_opacity_inargs[] =
{
GIMP_PDB_FLOAT,
"opacity",
"The opacity: 0 <= opacity <= 100"
"The opacity (0 <= opacity <= 100)"
}
};

View File

@ -299,7 +299,7 @@ static ProcArg floating_sel_rigor_inargs[] =
{
GIMP_PDB_INT32,
"undo",
"TRUE or FALSE"
"(TRUE or FALSE)"
}
};
@ -358,7 +358,7 @@ static ProcArg floating_sel_relax_inargs[] =
{
GIMP_PDB_INT32,
"undo",
"TRUE or FALSE"
"(TRUE or FALSE)"
}
};

View File

@ -770,12 +770,12 @@ static ProcArg image_resize_inargs[] =
{
GIMP_PDB_INT32,
"new-width",
"New image width: 1 <= new_width"
"New image width (1 <= new_width)"
},
{
GIMP_PDB_INT32,
"new-height",
"New image height: 1 <= new_height"
"New image height (1 <= new_height)"
},
{
GIMP_PDB_INT32,
@ -898,12 +898,12 @@ static ProcArg image_scale_inargs[] =
{
GIMP_PDB_INT32,
"new-width",
"New image width: 1 <= new_width"
"New image width (1 <= new_width)"
},
{
GIMP_PDB_INT32,
"new-height",
"New image height: 1 <= new_height"
"New image height (1 <= new_height)"
}
};
@ -3237,7 +3237,7 @@ static ProcArg image_get_colormap_outargs[] =
{
GIMP_PDB_INT32,
"num-bytes",
"Number of bytes in the colormap array: 0 < num_bytes"
"Number of bytes in the colormap array (0 < num_bytes)"
},
{
GIMP_PDB_INT8ARRAY,
@ -3303,7 +3303,7 @@ static ProcArg image_set_colormap_inargs[] =
{
GIMP_PDB_INT32,
"num-bytes",
"Number of bytes in the colormap array: 0 <= num_bytes <= 768"
"Number of bytes in the colormap array (0 <= num_bytes <= 768)"
},
{
GIMP_PDB_INT8ARRAY,

View File

@ -168,12 +168,12 @@ static ProcArg layer_new_inargs[] =
{
GIMP_PDB_INT32,
"width",
"The layer width: (1 <= width)"
"The layer width (1 <= width)"
},
{
GIMP_PDB_INT32,
"height",
"The layer height: (1 <= height)"
"The layer height (1 <= height)"
},
{
GIMP_PDB_INT32,
@ -188,7 +188,7 @@ static ProcArg layer_new_inargs[] =
{
GIMP_PDB_FLOAT,
"opacity",
"The layer opacity: (0 <= opacity <= 100)"
"The layer opacity (0 <= opacity <= 100)"
},
{
GIMP_PDB_INT32,
@ -487,12 +487,12 @@ static ProcArg layer_scale_inargs[] =
{
GIMP_PDB_INT32,
"new-width",
"New layer width: (1 <= new_width)"
"New layer width (1 <= new_width)"
},
{
GIMP_PDB_INT32,
"new-height",
"New layer height: (1 <= new_height)"
"New layer height (1 <= new_height)"
},
{
GIMP_PDB_INT32,
@ -570,12 +570,12 @@ static ProcArg layer_resize_inargs[] =
{
GIMP_PDB_INT32,
"new-width",
"New layer width: (1 <= new_width)"
"New layer width (1 <= new_width)"
},
{
GIMP_PDB_INT32,
"new-height",
"New layer height: (1 <= new_height)"
"New layer height (1 <= new_height)"
},
{
GIMP_PDB_INT32,

View File

@ -177,7 +177,7 @@ static ProcArg airbrush_inargs[] =
{
GIMP_PDB_FLOAT,
"pressure",
"The pressure of the airbrush strokes: (0 <= pressure <= 100)"
"The pressure of the airbrush strokes (0 <= pressure <= 100)"
},
{
GIMP_PDB_INT32,
@ -556,7 +556,7 @@ static ProcArg convolve_inargs[] =
{
GIMP_PDB_FLOAT,
"pressure",
"The pressure: 0 <= pressure <= 100"
"The pressure (0 <= pressure <= 100)"
},
{
GIMP_PDB_INT32,
@ -741,7 +741,7 @@ static ProcArg dodgeburn_inargs[] =
{
GIMP_PDB_FLOAT,
"exposure",
"The exposure of the strokes: (0 <= exposure <= 100)"
"The exposure of the strokes (0 <= exposure <= 100)"
},
{
GIMP_PDB_INT32,
@ -1112,7 +1112,7 @@ static ProcArg paintbrush_inargs[] =
{
GIMP_PDB_FLOAT,
"fade-out",
"Fade out parameter: 0 <= fade_out"
"Fade out parameter (0 <= fade_out)"
},
{
GIMP_PDB_INT32,
@ -1132,7 +1132,7 @@ static ProcArg paintbrush_inargs[] =
{
GIMP_PDB_FLOAT,
"gradient-length",
"Length of gradient to draw: 0 <= gradient_length"
"Length of gradient to draw (0 <= gradient_length)"
}
};
@ -1367,7 +1367,7 @@ static ProcArg smudge_inargs[] =
{
GIMP_PDB_FLOAT,
"pressure",
"The pressure of the smudge strokes: (0 <= pressure <= 100)"
"The pressure of the smudge strokes (0 <= pressure <= 100)"
},
{
GIMP_PDB_INT32,

View File

@ -531,7 +531,7 @@ static ProcArg plugin_icon_register_inargs[] =
{
GIMP_PDB_INT32,
"icon-data-length",
"The length of 'icon_data': 1 <= icon_data_length"
"The length of 'icon-data' (1 <= icon_data_length)"
},
{
GIMP_PDB_INT8ARRAY,

View File

@ -228,7 +228,7 @@ static ProcArg selection_value_outargs[] =
{
GIMP_PDB_INT32,
"value",
"Value of the selection: (0 <= value <= 255)"
"Value of the selection (0 <= value <= 255)"
}
};

View File

@ -123,7 +123,7 @@ static ProcArg by_color_select_inargs[] =
{
GIMP_PDB_INT32,
"threshold",
"Threshold in intensity levels: 0 <= threshold <= 255"
"Threshold in intensity levels (0 <= threshold <= 255)"
},
{
GIMP_PDB_INT32,
@ -250,12 +250,12 @@ static ProcArg ellipse_select_inargs[] =
{
GIMP_PDB_FLOAT,
"width",
"The width of the ellipse: 0 < width"
"The width of the ellipse (0 < width)"
},
{
GIMP_PDB_FLOAT,
"height",
"The height of the ellipse: 0 < height"
"The height of the ellipse (0 < height)"
},
{
GIMP_PDB_INT32,
@ -490,7 +490,7 @@ static ProcArg fuzzy_select_inargs[] =
{
GIMP_PDB_INT32,
"threshold",
"Threshold in intensity levels: 0 <= threshold <= 255"
"Threshold in intensity levels (0 <= threshold <= 255)"
},
{
GIMP_PDB_INT32,
@ -614,12 +614,12 @@ static ProcArg rect_select_inargs[] =
{
GIMP_PDB_FLOAT,
"width",
"The width of the rectangle: 0 < width"
"The width of the rectangle (0 < width)"
},
{
GIMP_PDB_FLOAT,
"height",
"The height of the rectangle: 0 < height"
"The height of the rectangle (0 < height)"
},
{
GIMP_PDB_INT32,

View File

@ -154,7 +154,7 @@ static ProcArg text_fontname_inargs[] =
{
GIMP_PDB_INT32,
"border",
"The size of the border: -1 <= border"
"The size of the border (-1 <= border)"
},
{
GIMP_PDB_INT32,
@ -470,7 +470,7 @@ static ProcArg text_inargs[] =
{
GIMP_PDB_INT32,
"border",
"The size of the border: -1 <= border"
"The size of the border (-1 <= border)"
},
{
GIMP_PDB_INT32,

View File

@ -474,7 +474,7 @@ gimp_edit_fill (gint32 drawable_ID,
* @fill_mode: The type of fill.
* @paint_mode: The paint application mode.
* @opacity: The opacity of the final bucket fill.
* @threshold: The threshold determines how extensive the seed fill will be. It's value is specified in terms of intensity levels . This parameter is only valid when there is no selection in the specified image.
* @threshold: The threshold determines how extensive the seed fill will be. It's value is specified in terms of intensity levels. This parameter is only valid when there is no selection in the specified image.
* @sample_merged: Use the composite image, not the drawable.
* @x: The x coordinate of this bucket fill's application. This parameter is only valid when there is no selection in the specified image.
* @y: The y coordinate of this bucket fill's application. This parameter is only valid when there is no selection in the specified image.

View File

@ -172,7 +172,7 @@ gimp_plugin_menu_branch_register (const gchar *menu_path,
* _gimp_plugin_icon_register:
* @procedure_name: The procedure for which to install the icon.
* @icon_type: The type of the icon.
* @icon_data_length: The length of 'icon_data'.
* @icon_data_length: The length of 'icon-data'.
* @icon_data: The procedure's icon. The format depends on the 'icon_type' parameter.
*
* Register an icon for a plug-in procedure.

View File

@ -144,8 +144,9 @@ sub make_arg_recs {
for ($type) {
/array/ && do { last };
/boolean/ && do { $info = 'TRUE or FALSE'; last };
/int|float/ && do { $info =~ s/$type/$arg->{name}/e; last };
/boolean/ && do { $info = '(TRUE or FALSE)'; last };
/int|float/ && do { $info =~ s/$type/$arg->{name}/e;
$info = '('. $info . ')'; last };
/enum/ && do { my $enum = $enums{$name};
$info = '{ ' . $enum->{info};
foreach (@remove) {

View File

@ -43,7 +43,7 @@ sub desc_wrap {
sub desc_clean {
my ($str) = @_;
$str =~ s/\(\s*%%desc%%\s*\)//g;
$str =~ s/:\s*%%desc%%//g;
$str =~ s/:*\s+%%desc%%//g;
$str =~ s/\{\s*%%desc%%\s*\}//g;
$str =~ s/\s*$//g;
$str =~ s/:$//g;

View File

@ -353,7 +353,7 @@ HELP
@outargs = (
{ name => 'spacing', type => '0 <= int32 <= 1000',
desc => 'The brush spacing: %%desc%%',
desc => 'The brush spacing %%desc%%',
void_ret => 1 }
);
@ -602,7 +602,7 @@ HELP
{ name => 'name', type => 'string',
desc => 'The brush name' },
{ name => 'spacing', type => '0 <= int32 <= 1000',
desc => 'The brush spacing: %%desc%%' }
desc => 'The brush spacing %%desc%%' }
);
%invoke = (

View File

@ -81,7 +81,7 @@ sub brushes_get_brush {
{ name => 'height', type => 'int32',
desc => 'The brush height' },
{ name => 'spacing', type => '0 <= int32 <= 1000',
desc => 'The brush spacing: %%desc%%' }
desc => 'The brush spacing %%desc%%' }
);
%invoke = (
@ -108,7 +108,7 @@ sub brushes_get_spacing {
@outargs = (
{ name => 'spacing', type => '0 <= int32 <= 1000',
desc => 'The brush spacing: %%desc%%' }
desc => 'The brush spacing %%desc%%' }
);
%invoke = (
@ -130,7 +130,7 @@ sub brushes_set_spacing {
@inargs = (
{ name => 'spacing', type => '0 <= int32 <= 1000',
desc => 'The brush spacing: %%desc%%' }
desc => 'The brush spacing %%desc%%' }
);
%invoke = (
@ -155,9 +155,9 @@ sub brushes_get_brush_data {
{ name => 'actual_name', type => 'string',
desc => 'The brush name' },
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The brush opacity: %%desc%%' },
desc => 'The brush opacity %%desc%%' },
{ name => 'spacing', type => '0 <= int32 <= 1000',
desc => 'The brush spacing: %%desc%%' },
desc => 'The brush spacing %%desc%%' },
{ name => 'paint_mode', type => 'enum GimpLayerModeEffects',
desc => 'The paint mode: %%desc%%' },
{ name => 'width', type => 'int32',

View File

@ -35,13 +35,13 @@ HELP
{ name => 'image', type => 'image',
desc => 'The image to which to add the channel' },
{ name => 'width', type => '1 <= int32',
desc => 'The channel width: (%%desc%%)' },
desc => 'The channel width %%desc%%' },
{ name => 'height', type => '1 <= int32',
desc => 'The channel height: (%%desc%%)' },
desc => 'The channel height %%desc%%' },
{ name => 'name', type => 'string',
desc => 'The channel name' },
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The channel opacity: (%%desc%%)' },
desc => 'The channel opacity %%desc%%' },
{ name => 'color', type => 'color',
desc => 'The channel compositing color'
}
@ -271,7 +271,7 @@ HELP
{ name => 'channel', type => 'channel',
desc => 'The channel' },
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The new channel opacity (%%desc%%)' }
desc => 'The new channel opacity %%desc%%' }
);
%invoke = (

View File

@ -33,9 +33,9 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The drawable' },
{ name => 'brightness', type => '-127 <= int32 <= 127',
desc => 'Brightness adjustment: (%%desc%%)' },
desc => 'Brightness adjustment %%desc%%' },
{ name => 'contrast', type => '-127 <= int32 <= 127',
desc => 'Contrast adjustment: (%%desc%%)' }
desc => 'Contrast adjustment %%desc%%' }
);
%invoke = (
@ -104,15 +104,15 @@ HELP
{ name => 'channel', type => 'enum GimpHistogramChannel',
desc => 'The channel to modify: %%desc%%' },
{ name => 'low_input', type => '0 <= int32 <= 255',
desc => "Intensity of lowest input: (%%desc%%)" },
desc => "Intensity of lowest input %%desc%%" },
{ name => 'high_input', type => '0 <= int32 <= 255',
desc => "Intensity of highest input: (%%desc%%)" },
desc => "Intensity of highest input %%desc%%" },
{ name => 'gamma', type => '0.1 <= float <= 10',
desc => 'Gamma correction factor: (%%desc%%)' },
desc => 'Gamma correction factor %%desc%%' },
{ name => 'low_output', type => '0 <= int32 <= 255',
desc => "Intensity of lowest output: (%%desc%%)" },
desc => "Intensity of lowest output %%desc%%" },
{ name => 'high_output', type => '0 <= int32 <= 255',
desc => "Intensity of highest output: (%%desc%%)" }
desc => "Intensity of highest output %%desc%%" }
);
%invoke = (
@ -217,7 +217,7 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The drawable' },
{ name => 'levels', type => '2 <= int32 <= 255',
desc => 'Levels of posterization: (%%desc%%)' }
desc => 'Levels of posterization %%desc%%' }
);
%invoke = (
@ -418,7 +418,7 @@ HELP
... }',
array => { name => 'num_points', type => '4 <= int32 <= 34',
desc => 'The number of values in the control point array
(%%desc%%)' } }
%%desc%%' } }
);
%invoke = (
@ -602,11 +602,11 @@ HELP
{ name => 'preserve_lum', type => 'boolean',
desc => 'Preserve luminosity values at each pixel' },
{ name => 'cyan_red', type => '-100 <= float <= 100',
desc => 'Cyan-Red color balance: (%%desc%%)' },
desc => 'Cyan-Red color balance %%desc%%' },
{ name => 'magenta_green', type => '-100 <= float <= 100',
desc => 'Magenta-Green color balance: (%%desc%%)' },
desc => 'Magenta-Green color balance %%desc%%' },
{ name => 'yellow_blue', type => '-100 <= float <= 100',
desc => 'Yellow-Blue color balance: (%%desc%%)' }
desc => 'Yellow-Blue color balance %%desc%%' }
);
%invoke = (
@ -669,11 +669,11 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The drawable' },
{ name => 'hue', type => '0 <= float <= 360',
desc => 'Hue in degrees: (%%desc%%)' },
desc => 'Hue in degrees %%desc%%' },
{ name => 'saturation', type => '0 <= float <= 100',
desc => 'Saturation in percent: (%%desc%%)' },
desc => 'Saturation in percent %%desc%%' },
{ name => 'lightness', type => '-100 <= float <= 100',
desc => 'Lightness in percent: (%%desc%%)' }
desc => 'Lightness in percent %%desc%%' }
);
%invoke = (
@ -822,11 +822,11 @@ HELP
{ name => 'hue_range', type => 'enum GimpHueRange',
desc => 'Range of affected hues: %%desc%%' },
{ name => 'hue_offset', type => '-180 <= float <= 180',
desc => 'Hue offset in degrees: (%%desc%%)' },
desc => 'Hue offset in degrees %%desc%%' },
{ name => 'lightness', type => '-100 <= float <= 100',
desc => 'Lightness modification: (%%desc%%)' },
desc => 'Lightness modification %%desc%%' },
{ name => 'saturation', type => '-100 <= float <= 100',
desc => 'Saturation modification: (%%desc%%)' }
desc => 'Saturation modification %%desc%%' }
);
%invoke = (
@ -889,9 +889,9 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The drawable' },
{ name => 'low_threshold', type => '0 <= int32 <= 255',
desc => 'The low threshold value: %%desc%%' },
desc => 'The low threshold value %%desc%%' },
{ name => 'high_threshold', type => '0 <= int32 <= 255',
desc => 'The high threshold value: %%desc%%' }
desc => 'The high threshold value %%desc%%' }
);
%invoke = (

View File

@ -286,7 +286,7 @@ HELP
@outargs = (
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The opacity: %%desc%%' }
desc => 'The opacity %%desc%%' }
);
%invoke = (
@ -310,7 +310,7 @@ HELP
@inargs = (
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The opacity: %%desc%%' }
desc => 'The opacity %%desc%%' }
);
%invoke = (

View File

@ -543,11 +543,11 @@ HELP
{ name => paint_mode, type => 'enum GimpLayerModeEffects',
desc => 'The paint application mode: %%desc%%' },
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The opacity of the final bucket fill (%%desc%%)' },
desc => 'The opacity of the final bucket fill %%desc%%' },
{ name => 'threshold', type => '0 <= float <= 255',
desc => "The threshold determines how extensive the seed fill will
be. It's value is specified in terms of intensity levels
(%%desc%%). This parameter is only valid when there is
%%desc%%. This parameter is only valid when there is
no selection in the specified image." },
{ name => 'sample_merged', type => 'boolean',
desc => 'Use the composite image, not the drawable' },
@ -611,23 +611,23 @@ HELP
{ name => 'gradient_type', type => 'enum GimpGradientType',
desc => 'The type of gradient: %%desc%%' },
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The opacity of the final blend (%%desc%%)' },
desc => 'The opacity of the final blend %%desc%%' },
{ name => 'offset', type => '0 <= float',
desc => 'Offset relates to the starting and ending coordinates
specified for the blend. This parameter is mode dependent
(%%desc%%)' },
%%desc%%' },
{ name => 'repeat', type => 'enum GimpRepeatMode',
desc => 'Repeat mode: %%desc%%' },
{ name => 'reverse', type => 'boolean',
desc => 'Use the reverse gradient (%%desc%%)' },
desc => 'Use the reverse gradient %%desc%%' },
{ name => 'supersample', type => 'boolean',
desc => 'Do adaptive supersampling (%%desc%%)' },
desc => 'Do adaptive supersampling %%desc%%' },
{ name => 'max_depth', type => '1 <= int32 <= 9', no_success => 1,
desc => 'Maximum recursion levels for supersampling' },
{ name => 'threshold', type => '0 <= float <= 4', no_success => 1,
desc => 'Supersampling threshold' },
{ name => 'dither', type => 'boolean',
desc => 'Use dithering to reduce banding (%%desc%%)' },
desc => 'Use dithering to reduce banding %%desc%%' },
{ name => 'x1', type => 'float',
desc => "The x coordinate of this blend's starting point" },
{ name => 'y1', type => 'float',

View File

@ -215,7 +215,7 @@ HELP
{ name => 'num_samples', type => '2 <= int32',
desc => 'The number of samples to take' },
{ name => 'reverse', type => 'boolean',
desc => 'Use the reverse gradient (%%desc%%)' }
desc => 'Use the reverse gradient %%desc%%' }
);
@outargs = (
@ -285,7 +285,7 @@ HELP
array => { name => 'num_samples', type => '1 <= int32',
desc => 'The number of samples to take' } },
{ name => 'reverse', type => 'boolean',
desc => 'Use the reverse gradient (%%desc%%)' }
desc => 'Use the reverse gradient %%desc%%' }
);
@outargs = (

View File

@ -34,7 +34,7 @@ sub gradients_popup {
null_ok => 1 },
{ name => 'sample_size', type => '1 <= int32 <= 10000',
desc => 'Size of the sample to return when the gradient is changed:
(%%desc%%)',
%%desc%%',
no_success => 1 }
);

View File

@ -77,7 +77,7 @@ sub gradients_sample_uniform {
{ name => 'num_samples', type => '2 <= int32',
desc => 'The number of samples to take' },
{ name => 'reverse', type => 'boolean',
desc => 'Use the reverse gradient (%%desc%%)' }
desc => 'Use the reverse gradient %%desc%%' }
);
@outargs = (
@ -131,7 +131,7 @@ sub gradients_sample_custom {
array => { name => 'num_samples', type => 'int32',
desc => 'The number of samples to take' } },
{ name => 'reverse', type => 'boolean',
desc => 'Use the reverse gradient (%%desc%%)' }
desc => 'Use the reverse gradient %%desc%%' }
);
@outargs = (
@ -182,10 +182,10 @@ sub gradients_get_gradient_data {
null_ok => '1' },
{ name => 'sample_size', type => '1 <= int32 <= 10000',
desc => 'Size of the sample to return when the gradient is changed:
(%%desc%%)',
%%desc%%',
no_success => 1 },
{ name => 'reverse', type => 'boolean',
desc => 'Use the reverse gradient (%%desc%%)' }
desc => 'Use the reverse gradient %%desc%%' }
);
@outargs = (

View File

@ -176,9 +176,9 @@ HELP
{ name => 'image', type => 'image',
desc => 'The image' },
{ name => 'new_width', type => '1 <= int32',
desc => 'New image width: %%desc%%' },
desc => 'New image width %%desc%%' },
{ name => 'new_height', type => '1 <= int32',
desc => 'New image height: %%desc%%' },
desc => 'New image height %%desc%%' },
{ name => 'offx', type => 'int32',
desc => 'x offset between upper left corner of old and
new images: (new - old)' },
@ -244,9 +244,9 @@ HELP
{ name => 'image', type => 'image',
desc => 'The image' },
{ name => 'new_width', type => '1 <= int32',
desc => 'New image width: %%desc%%' },
desc => 'New image width %%desc%%' },
{ name => 'new_height', type => '1 <= int32',
desc => 'New image height: %%desc%%' }
desc => 'New image height %%desc%%' }
);
%invoke = (
@ -1347,7 +1347,7 @@ HELP
{ name => 'colormap', type => 'int8array', wrap => 1,
desc => "The image's colormap",
array => { name => 'num_bytes',
desc => 'Number of bytes in the colormap array:
desc => 'Number of bytes in the colormap array
%%desc%%' } }
);
@ -1380,7 +1380,7 @@ HELP
{ name => 'colormap', type => 'int8array', wrap => 1,
desc => 'The new colormap values',
array => { name => 'num_bytes', type => '0 <= int32 <= 768',
desc => 'Number of bytes in the colormap array:
desc => 'Number of bytes in the colormap array
%%desc%%' } }
);
@ -1797,7 +1797,7 @@ HELP
@outargs = (
{ name => 'active', type => 'boolean',
desc => 'Component is active (%%desc%%)' }
desc => 'Component is active %%desc%%' }
);
%invoke = (
@ -1835,7 +1835,7 @@ HELP
{ name => 'component', type => 'enum GimpChannelType',
desc => 'The image component: %%desc%%' },
{ name => 'active', type => 'boolean',
desc => 'Component is active (%%desc%%)' }
desc => 'Component is active %%desc%%' }
);
%invoke = (
@ -1876,7 +1876,7 @@ HELP
@outargs = (
{ name => 'visible', type => 'boolean',
desc => 'Component is visible (%%desc%%)' }
desc => 'Component is visible %%desc%%' }
);
%invoke = (
@ -1914,7 +1914,7 @@ HELP
{ name => 'component', type => 'enum GimpChannelType',
desc => 'The image component: %%desc%%' },
{ name => 'visible', type => 'boolean',
desc => 'Component is visible (%%desc%%)' }
desc => 'Component is visible %%desc%%' }
);
%invoke = (

View File

@ -34,15 +34,15 @@ HELP
{ name => 'image', type => 'image',
desc => 'The image to which to add the layer' },
{ name => 'width', type => '1 <= int32',
desc => 'The layer width: (%%desc%%)' },
desc => 'The layer width %%desc%%' },
{ name => 'height', type => '1 <= int32',
desc => 'The layer height: (%%desc%%)' },
desc => 'The layer height %%desc%%' },
{ name => 'type', type => 'enum GimpImageType',
desc => 'The layer type: %%desc%%' },
{ name => 'name', type => 'string',
desc => 'The layer name', null_ok => 1 },
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The layer opacity: (%%desc%%)' },
desc => 'The layer opacity %%desc%%' },
{ name => 'mode', type => 'enum GimpLayerModeEffects',
desc => 'The layer combination mode: %%desc%%' }
);
@ -222,9 +222,9 @@ HELP
{ name => 'layer', type => 'layer',
desc => 'The layer' },
{ name => 'new_width', type => '1 <= int32',
desc => 'New layer width: (%%desc%%)' },
desc => 'New layer width %%desc%%' },
{ name => 'new_height', type => '1 <= int32',
desc => 'New layer height: (%%desc%%)' },
desc => 'New layer height %%desc%%' },
{ name => 'local_origin', type => 'boolean',
desc => 'Use a local origin (as opposed to the image origin)' }
);
@ -259,9 +259,9 @@ HELP
{ name => 'layer', type => 'layer',
desc => 'The layer' },
{ name => 'new_width', type => '1 <= int32',
desc => 'New layer width: (%%desc%%)' },
desc => 'New layer width %%desc%%' },
{ name => 'new_height', type => '1 <= int32',
desc => 'New layer height: (%%desc%%)' },
desc => 'New layer height %%desc%%' },
{ name => 'offx', type => 'int32',
desc => 'x offset between upper left corner of old and
new layers: (old - new)' },
@ -842,7 +842,7 @@ sub layer_set_opacity {
{ name => 'layer', type => 'layer',
desc => 'The layer' },
{ name => 'opacity', type => '0 <= float <= 100',
desc => 'The new layer opacity (%%desc%%)' }
desc => 'The new layer opacity %%desc%%' }
);
%invoke = (

View File

@ -46,7 +46,7 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The affected drawable' },
{ name => 'pressure', type => '0 <= float <= 100',
desc => 'The pressure of the airbrush strokes: (%%desc%%)' },
desc => 'The pressure of the airbrush strokes %%desc%%' },
&stroke_arg
);
@ -281,7 +281,7 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The affected drawable' },
{ name => 'pressure', type => '0 <= float <= 100',
desc => 'The pressure: %%desc%%' },
desc => 'The pressure %%desc%%' },
{ name => 'convolve_type', type => 'enum GimpConvolveType',
desc => 'Convolve type: %%desc%%' },
&stroke_arg
@ -470,12 +470,12 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The affected drawable' },
{ name => 'fade_out', type => '0 <= float',
desc => 'Fade out parameter: %%desc%%' },
desc => 'Fade out parameter %%desc%%' },
&stroke_arg,
{ name => 'method', type => 'enum GimpPaintApplicationMode',
desc => '%%desc%%' },
{ name => 'gradient_length', type => '0 <= float',
desc => 'Length of gradient to draw: %%desc%%' }
desc => 'Length of gradient to draw %%desc%%' }
);
%invoke = (
@ -607,7 +607,7 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The affected drawable' },
{ name => 'pressure', type => '0 <= float <= 100',
desc => 'The pressure of the smudge strokes: (%%desc%%)' },
desc => 'The pressure of the smudge strokes %%desc%%' },
&stroke_arg
);
@ -690,7 +690,7 @@ HELP
{ name => 'drawable', type => 'drawable',
desc => 'The affected drawable' },
{ name => 'exposure', type => '0 <= float <= 100',
desc => 'The exposure of the strokes: (%%desc%%)' },
desc => 'The exposure of the strokes %%desc%%' },
{ name => 'dodgeburn_type', type => 'enum GimpDodgeBurnType',
desc => 'The type either dodge or burn: %%desc%%' },
{ name => 'dodgeburn_mode', type => 'enum GimpTransferMode',

View File

@ -240,7 +240,7 @@ HELP
desc => "The procedure's icon. The format depends on the
'icon_type' parameter",
array => { name => 'icon_data_length', type => '1 <= int32',
desc => "The length of 'icon_data': %%desc%%" } }
desc => "The length of 'icon-data' %%desc%%" } }
);
%invoke = (

View File

@ -81,7 +81,7 @@ HELP
@outargs = (
{ name => 'value', type => '0 <= int32 <= 255',
desc => 'Value of the selection: (%%desc%%)' }
desc => 'Value of the selection %%desc%%' }
);
%invoke = (

View File

@ -45,11 +45,11 @@ HELP
{ name => 'color', type => 'color',
desc => 'The color to select' },
{ name => 'threshold', type => '0 <= int32 <= 255',
desc => 'Threshold in intensity levels: %%desc%%' },
desc => 'Threshold in intensity levels %%desc%%' },
{ name => 'operation', type => 'enum GimpChannelOps',
desc => 'The selection operation: %%desc%%' },
{ name => 'antialias', type => 'boolean',
desc => 'Antialiasing (%%desc%%)' },
desc => 'Antialiasing %%desc%%' },
{ name => 'feather', type => 'boolean',
desc => 'Feather option for selections' },
{ name => 'feather_radius', type => '0 <= float',
@ -102,13 +102,13 @@ HELP
{ name => 'y', type => 'float',
desc => 'y coordinate of upper-left corner of ellipse bounding box' },
{ name => 'width', type => '0 < float',
desc => 'The width of the ellipse: %%desc%%' },
desc => 'The width of the ellipse %%desc%%' },
{ name => 'height', type => '0 < float',
desc => 'The height of the ellipse: %%desc%%' },
desc => 'The height of the ellipse %%desc%%' },
{ name => 'operation', type => 'enum GimpChannelOps',
desc => 'The selection operation: %%desc%%' },
{ name => 'antialias', type => 'boolean',
desc => 'Antialiasing (%%desc%%)' },
desc => 'Antialiasing %%desc%%' },
{ name => 'feather', type => 'boolean',
desc => 'Feather option for selections' },
{ name => 'feather_radius', type => '0 <= float',
@ -160,7 +160,7 @@ HELP
{ name => 'operation', type => 'enum GimpChannelOps',
desc => 'The selection operation: %%desc%%' },
{ name => 'antialias', type => 'boolean',
desc => 'Antialiasing (%%desc%%)' },
desc => 'Antialiasing %%desc%%' },
{ name => 'feather', type => 'boolean',
desc => 'Feather option for selections' },
{ name => 'feather_radius', type => '0 <= float',
@ -220,11 +220,11 @@ HELP
desc => 'y coordinate of initial seed fill point: (image
coordinates)' },
{ name => 'threshold', type => '0 <= int32 <= 255',
desc => 'Threshold in intensity levels: %%desc%%' },
desc => 'Threshold in intensity levels %%desc%%' },
{ name => 'operation', type => 'enum GimpChannelOps',
desc => 'The selection operation: %%desc%%' },
{ name => 'antialias', type => 'boolean',
desc => 'Antialiasing (%%desc%%)' },
desc => 'Antialiasing %%desc%%' },
{ name => 'feather', type => 'boolean',
desc => 'Feather option for selections' },
{ name => 'feather_radius', type => '0 <= float',
@ -275,9 +275,9 @@ HELP
{ name => 'y', type => 'float',
desc => 'y coordinate of upper-left corner of rectangle' },
{ name => 'width', type => '0 < float',
desc => 'The width of the rectangle: %%desc%%' },
desc => 'The width of the rectangle %%desc%%' },
{ name => 'height', type => '0 < float',
desc => 'The height of the rectangle: %%desc%%' },
desc => 'The height of the rectangle %%desc%%' },
{ name => 'operation', type => 'enum GimpChannelOps',
desc => 'The selection operation: %%desc%%' },
{ name => 'feather', type => 'boolean',

View File

@ -51,9 +51,9 @@ HELP
{ name => 'text', type => 'string',
desc => 'The text to generate (in UTF-8 encoding)' },
{ name => 'border', type => '-1 <= int32',
desc => 'The size of the border: %%desc%%' },
desc => 'The size of the border %%desc%%' },
{ name => 'antialias', type => 'boolean',
desc => 'Antialiasing (%%desc%%)' },
desc => 'Antialiasing %%desc%%' },
{ name => 'size', type => '0 < float',
desc => 'The size of text in either pixels or points' },
{ name => 'size_type', type => 'enum GimpSizeType',
@ -154,9 +154,9 @@ sub text {
{ name => 'text', type => 'string',
desc => 'The text to generate (in UTF-8 encoding)' },
{ name => 'border', type => '-1 <= int32',
desc => 'The size of the border: %%desc%%' },
desc => 'The size of the border %%desc%%' },
{ name => 'antialias', type => 'boolean',
desc => 'Antialiasing (%%desc%%)' },
desc => 'Antialiasing %%desc%%' },
{ name => 'size', type => '0 < float',
desc => 'The size of text in either pixels or points' },
{ name => 'size_type', type => 'enum GimpSizeType',