[gimp/gimp-2-10] Issue #3610 - Documentation: missing item in built-in documentation...



commit 29d765a0bd79e237563704a43589c16e59a08e24
Author: Michael Natterer <mitch gimp org>
Date:   Thu Jul 4 13:35:27 2019 +0200

    Issue #3610 - Documentation: missing item in built-in documentation...
    
    ...for gimp_context_set_antialias(antialias)
    
    Mention gimp_context_set_antialias() in the stroke docs, and mention
    the stroke functions in the antialias docs.
    
    (cherry picked from commit 7a589951c9848f2e56fe5f235f088a2c32fdb057)

 app/pdb/context-cmds.c         | 2 +-
 app/pdb/drawable-edit-cmds.c   | 4 ++--
 libgimp/gimpcontext_pdb.c      | 3 ++-
 libgimp/gimpdrawableedit_pdb.c | 4 ++--
 pdb/groups/context.pdb         | 3 ++-
 pdb/groups/drawable_edit.pdb   | 6 ++++--
 6 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/app/pdb/context-cmds.c b/app/pdb/context-cmds.c
index 6c8adf9aee..1d36703615 100644
--- a/app/pdb/context-cmds.c
+++ b/app/pdb/context-cmds.c
@@ -4724,7 +4724,7 @@ register_context_procs (GimpPDB *pdb)
                                      "Set the antialias setting.",
                                      "This procedure modifies the antialias setting. If antialiasing is 
turned on, the edges of selected region will contain intermediate values which give the appearance of a 
sharper, less pixelized edge. This should be set as TRUE most of the time unless a binary-only selection is 
wanted.\n"
                                      "\n"
-                                     "This setting affects the following procedures: 
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-image-select-round-rectangle', 
'gimp-image-select-ellipse', 'gimp-image-select-polygon', 'gimp-image-select-item', 
'gimp-drawable-edit-bucket-fill'.",
+                                     "This setting affects the following procedures: 
'gimp-image-select-color', 'gimp-image-select-contiguous-color', 'gimp-image-select-round-rectangle', 
'gimp-image-select-ellipse', 'gimp-image-select-polygon', 'gimp-image-select-item', 
'gimp-drawable-edit-bucket-fill', 'gimp-drawable-edit-stroke-item', 'gimp-drawable-edit-stroke-selection'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
diff --git a/app/pdb/drawable-edit-cmds.c b/app/pdb/drawable-edit-cmds.c
index 43ac00a7e6..43a0a4deee 100644
--- a/app/pdb/drawable-edit-cmds.c
+++ b/app/pdb/drawable-edit-cmds.c
@@ -573,7 +573,7 @@ register_drawable_edit_procs (GimpPDB *pdb)
                                      "Stroke the current selection",
                                      "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"
                                      "\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 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, 'gimp-context-set-antialias'.",
                                      "Spencer Kimball & Peter Mattis",
                                      "Spencer Kimball & Peter Mattis",
                                      "1995-1996",
@@ -598,7 +598,7 @@ register_drawable_edit_procs (GimpPDB *pdb)
                                      "Stroke the specified item",
                                      "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"
                                      "\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 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, 'gimp-context-set-antialias'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2018",
diff --git a/libgimp/gimpcontext_pdb.c b/libgimp/gimpcontext_pdb.c
index 08e4da7668..92f71e2d39 100644
--- a/libgimp/gimpcontext_pdb.c
+++ b/libgimp/gimpcontext_pdb.c
@@ -2402,7 +2402,8 @@ gimp_context_get_antialias (void)
  * gimp_image_select_color(), gimp_image_select_contiguous_color(),
  * gimp_image_select_round_rectangle(), gimp_image_select_ellipse(),
  * gimp_image_select_polygon(), gimp_image_select_item(),
- * gimp_drawable_edit_bucket_fill().
+ * gimp_drawable_edit_bucket_fill(), gimp_drawable_edit_stroke_item(),
+ * gimp_drawable_edit_stroke_selection().
  *
  * Returns: TRUE on success.
  *
diff --git a/libgimp/gimpdrawableedit_pdb.c b/libgimp/gimpdrawableedit_pdb.c
index 87d281ecaf..f8eb93b220 100644
--- a/libgimp/gimpdrawableedit_pdb.c
+++ b/libgimp/gimpdrawableedit_pdb.c
@@ -251,7 +251,7 @@ gimp_drawable_edit_gradient_fill (gint32           drawable_ID,
  * 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.
+ * line property settings, gimp_context_set_antialias().
  *
  * Returns: TRUE on success.
  **/
@@ -292,7 +292,7 @@ gimp_drawable_edit_stroke_selection (gint32 drawable_ID)
  * 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.
+ * line property settings, gimp_context_set_antialias().
  *
  * Returns: TRUE on success.
  *
diff --git a/pdb/groups/context.pdb b/pdb/groups/context.pdb
index e6b6ef964e..38919cfc70 100644
--- a/pdb/groups/context.pdb
+++ b/pdb/groups/context.pdb
@@ -2114,7 +2114,8 @@ This setting affects the following procedures:
 gimp_image_select_color(), gimp_image_select_contiguous_color(),
 gimp_image_select_round_rectangle(), gimp_image_select_ellipse(),
 gimp_image_select_polygon(), gimp_image_select_item(),
-gimp_drawable_edit_bucket_fill().
+gimp_drawable_edit_bucket_fill(), gimp_drawable_edit_stroke_item(),
+gimp_drawable_edit_stroke_selection().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
diff --git a/pdb/groups/drawable_edit.pdb b/pdb/groups/drawable_edit.pdb
index 52ab64b6e5..47f2372319 100644
--- a/pdb/groups/drawable_edit.pdb
+++ b/pdb/groups/drawable_edit.pdb
@@ -317,7 +317,8 @@ 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.
+gimp_context_set_line_width() and all line property settings,
+gimp_context_set_antialias().
 HELP
 
     &std_pdb_misc;
@@ -374,7 +375,8 @@ 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.
+gimp_context_set_line_width() and all line property settings,
+gimp_context_set_antialias().
 HELP
 
     &mitch_pdb_misc('2018', '2.10');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]