[gimp] app, libgimp, pdb: update gimp_edit_blend() description.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app, libgimp, pdb: update gimp_edit_blend() description.
- Date: Sun, 18 Mar 2018 12:33:20 +0000 (UTC)
commit 1789f0fe2a6e8cfba976b807baa12f7e7610ab40
Author: Jehan <jehan girinstud io>
Date: Sun Mar 18 13:21:05 2018 +0100
app, libgimp, pdb: update gimp_edit_blend() description.
Make it known that gimp_context_set_distance_metric() influences the end
render of a shapeburst blend.
app/pdb/edit-cmds.c | 2 +-
libgimp/gimpedit_pdb.c | 4 +++-
pdb/groups/edit.pdb | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/app/pdb/edit-cmds.c b/app/pdb/edit-cmds.c
index 6a4f919..a40df04 100644
--- a/app/pdb/edit-cmds.c
+++ b/app/pdb/edit-cmds.c
@@ -1470,7 +1470,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-edit-blend",
"Blend between the starting and ending coordinates with the specified
blend mode and gradient type.",
- "This tool requires information on the paint application mode, the
blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending
coordinates as defined for each gradient type.",
+ "This tool requires information on the paint application mode, the
blend mode, and the gradient type. It creates the specified variety of blend 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'.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
diff --git a/libgimp/gimpedit_pdb.c b/libgimp/gimpedit_pdb.c
index e605bcf..b61b80d 100644
--- a/libgimp/gimpedit_pdb.c
+++ b/libgimp/gimpedit_pdb.c
@@ -644,7 +644,9 @@ gimp_edit_bucket_fill_full (gint32 drawable_ID,
* This tool requires information on the paint application mode, the
* blend mode, and the gradient type. It creates the specified variety
* of blend using the starting and ending coordinates as defined for
- * each gradient type.
+ * 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().
*
* Returns: TRUE on success.
**/
diff --git a/pdb/groups/edit.pdb b/pdb/groups/edit.pdb
index 771e2cb..b150c07 100644
--- a/pdb/groups/edit.pdb
+++ b/pdb/groups/edit.pdb
@@ -808,6 +808,8 @@ This tool requires information on the paint application mode, the
blend mode, and the gradient type. It creates the specified variety of
blend 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().
HELP
&std_pdb_misc;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]