[gimp-web-devel/pat/bootstrap] content: add a small table at top of both algorithm pages.



commit 5f38e750a590243b6e4f5fc760e842a32564a3ec
Author: Jehan <jehan girinstud io>
Date:   Wed Sep 7 17:29:38 2022 +0200

    content: add a small table at top of both algorithm pages.
    
    Inspired from the table in the index of the wiki, except that this one
    was expecting only algorithm for GEGL operations. For now, let's just
    make it a usual thing to start an algorithm description with some kind
    of summary table showing context of an algorithm.

 content/core/algorithm/flood.md                | 6 +++++-
 content/core/algorithm/line-art-bucket-fill.md | 4 ++++
 2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/content/core/algorithm/flood.md b/content/core/algorithm/flood.md
index bc8b5ad..39e52ba 100644
--- a/content/core/algorithm/flood.md
+++ b/content/core/algorithm/flood.md
@@ -4,7 +4,11 @@ Author: "Ell"
 Date: 2021-01-18
 ---
 
-# Flood Algorithm
+| Operation name | PDB operation name | GUI menu item | Implementation file | Description |
+| -------------- | ------------------ | ------------- | ------------------- | ----------- |
+| `gimp:flood`   | `gimp-selection-flood` | `Select ⇒ Remove holes` | 
[gimpoperationflood.c](https://git.gnome.org/browse/gimp/tree/app/operations/gimpoperationflood.c) | Flood 
algorithm |
+
+*Note: operations starting with `gimp:` are in GIMP, operations starting with `gegl:` are in GEGL.*
 
 ## Abstract
 
diff --git a/content/core/algorithm/line-art-bucket-fill.md b/content/core/algorithm/line-art-bucket-fill.md
index 1e26166..b72c18d 100644
--- a/content/core/algorithm/line-art-bucket-fill.md
+++ b/content/core/algorithm/line-art-bucket-fill.md
@@ -4,6 +4,10 @@ Author: "Aryeom and Jehan"
 Date: 2022-09-07
 ---
 
+| Tool | GUI menu item | Main implementation file   | Description |
+| ---- | ------------- | -------------------------- | ----------- |
+| Bucket Fill | `Tools ⇒ Paint Tools ⇒ Bucket Fill` | 
[gimplineart.c](https://gitlab.gnome.org/GNOME/gimp/-/blob/master/app/core/gimplineart.c) | Line Art 
detection |
+
 The "*Fill by line art detection*" option in the Bucket Fill tool is
 adapted from an algorithm named "[A Fast and Efficient Semi-guided
 Algorithm for Flat Coloring


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