"This procedure clears the specified drawable. If the drawable has an alpha channel, the cleared pixels will become transparent. If the drawable does not have an alpha channel, cleared pixels will be set to the background color. This procedure only affects regions within a selection if there is a selection active.\n"
"This procedure fills the specified drawable according to fill mode. This procedure only affects regions within a selection if there is a selection active. If you want to fill the whole drawable, regardless of the selection, use 'gimp-drawable-fill'.\n"
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-foreground', 'gimp-context-set-background', 'gimp-context-set-pattern'.",
"Spencer Kimball & Peter Mattis & Raphael Quinet",
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-foreground', 'gimp-context-set-background', 'gimp-context-set-pattern', 'gimp-context-set-sample-threshold', 'gimp-context-set-sample-merged', 'gimp-context-set-sample-criterion', 'gimp-context-set-diagonal-neighbors', 'gimp-context-set-antialias'.",
"Michael Natterer <mitch@gimp.org>",
"Michael Natterer",
"2018",
NULL);
gimp_procedure_add_argument(procedure,
gimp_param_spec_drawable_id("drawable",
"drawable",
"The affected drawable",
pdb->gimp,FALSE,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_enum("fill-type",
"fill type",
"The type of fill",
GIMP_TYPE_FILL_TYPE,
GIMP_FILL_FOREGROUND,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("x",
"x",
"The x coordinate of this bucket fill's application.",
-G_MAXDOUBLE,G_MAXDOUBLE,0,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("y",
"y",
"The y coordinate of this bucket fill's application.",
"Draw a gradient between the starting and ending coordinates with the specified gradient type.",
"This tool requires information on the gradient type. It creates the specified variety of gradient using the starting and ending coordinates as defined for each gradient type. For shapeburst gradient types, the context's distance metric is also relevant and can be updated with 'gimp-context-set-distance-metric'.\n"
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-foreground', 'gimp-context-set-background', 'gimp-context-set-gradient' and all gradient property settings, 'gimp-context-set-distance-metric'.",
"Michael Natterer <mitch@gimp.org>",
"Michael Natterer",
"2018",
NULL);
gimp_procedure_add_argument(procedure,
gimp_param_spec_drawable_id("drawable",
"drawable",
"The affected drawable",
pdb->gimp,FALSE,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_enum("gradient-type",
"gradient type",
"The type of gradient",
GIMP_TYPE_GRADIENT_TYPE,
GIMP_GRADIENT_LINEAR,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("offset",
"offset",
"Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode dependent.",
0,G_MAXDOUBLE,0,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_boolean("supersample",
"supersample",
"Do adaptive supersampling",
FALSE,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
gimp_param_spec_int32("supersample-max-depth",
"supersample max depth",
"Maximum recursion levels for supersampling",
1,9,1,
GIMP_PARAM_READWRITE|GIMP_PARAM_NO_VALIDATE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("supersample-threshold",
"supersample threshold",
"Supersampling threshold",
0,4,0,
GIMP_PARAM_READWRITE|GIMP_PARAM_NO_VALIDATE));
gimp_procedure_add_argument(procedure,
g_param_spec_boolean("dither",
"dither",
"Use dithering to reduce banding",
FALSE,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("x1",
"x1",
"The x coordinate of this gradient's starting point",
-G_MAXDOUBLE,G_MAXDOUBLE,0,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("y1",
"y1",
"The y coordinate of this gradient's starting point",
-G_MAXDOUBLE,G_MAXDOUBLE,0,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("x2",
"x2",
"The x coordinate of this gradient's ending point",
-G_MAXDOUBLE,G_MAXDOUBLE,0,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument(procedure,
g_param_spec_double("y2",
"y2",
"The y coordinate of this gradient's ending point",
"This procedure strokes the current selection, painting along the selection boundary with the active paint method and brush, or using a plain line with configurable properties. The paint is applied to the specified drawable regardless of the active selection.\n"
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-paint-method', 'gimp-context-set-stroke-method', 'gimp-context-set-foreground', 'gimp-context-set-brush' and all brush property settings, 'gimp-context-set-gradient' and all gradient property settings, 'gimp-context-set-line-width' and all line property settings.",
"This procedure strokes the specified item, painting along its outline (e.g. along a path, or along a channel's boundary), with the active paint method and brush, or using a plain line with configurable properties.\n"
"This procedure is affected by the following context setters: 'gimp-context-set-opacity', 'gimp-context-set-paint-mode', 'gimp-context-set-paint-method', 'gimp-context-set-stroke-method', 'gimp-context-set-foreground', 'gimp-context-set-brush' and all brush property settings, 'gimp-context-set-gradient' and all gradient property settings, 'gimp-context-set-line-width' and all line property settings.",