[gimp-help-2] Update edit and select menus
- From: Julien Hardlin <jhardlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] Update edit and select menus
- Date: Tue, 7 Mar 2017 13:30:30 +0000 (UTC)
commit 580c792675cd97d5a499c72f7a6992e7ee924341
Author: Julien Hardelin <jhardlin orange fr>
Date: Tue Mar 7 14:29:36 2017 +0100
Update edit and select menus
images/C/menus/edit.png | Bin 7571 -> 33869 bytes
images/C/menus/edit/fill-path-ex1.png | Bin 0 -> 17034 bytes
images/C/menus/edit/fill-path-ex2.png | Bin 0 -> 3817 bytes
images/C/menus/edit/fill-selection-outline.png | Bin 0 -> 20260 bytes
images/C/menus/select/remove-holes-ex1.png | Bin 0 -> 174855 bytes
images/C/menus/select/remove-holes-ex2.png | Bin 0 -> 15506 bytes
images/C/menus/select/remove-holes-ex3.png | Bin 0 -> 142427 bytes
images/C/menus/select/remove-holes-ex4.png | Bin 0 -> 11677 bytes
images/C/menus/windows/edit.png | Bin 0 -> 33869 bytes
src/menus/edit.xml | 2 +
src/menus/edit/fill-path.xml | 94 ++++++++++++++++++++
src/menus/edit/fill-selection-outline.xml | 75 ++++++++++++++++
src/menus/file/show-in-file-manager.xml | 2 +-
src/menus/select.xml | 3 +-
src/menus/select/remove-holes.xml | 84 +++++++++++++++++
.../select/{dialog.xml => selection-editor.xml} | 4 +-
16 files changed, 260 insertions(+), 4 deletions(-)
---
diff --git a/images/C/menus/edit.png b/images/C/menus/edit.png
index 7c1977e..ada28cb 100644
Binary files a/images/C/menus/edit.png and b/images/C/menus/edit.png differ
diff --git a/images/C/menus/edit/fill-path-ex1.png b/images/C/menus/edit/fill-path-ex1.png
new file mode 100644
index 0000000..42c9e90
Binary files /dev/null and b/images/C/menus/edit/fill-path-ex1.png differ
diff --git a/images/C/menus/edit/fill-path-ex2.png b/images/C/menus/edit/fill-path-ex2.png
new file mode 100644
index 0000000..5bd0794
Binary files /dev/null and b/images/C/menus/edit/fill-path-ex2.png differ
diff --git a/images/C/menus/edit/fill-selection-outline.png b/images/C/menus/edit/fill-selection-outline.png
new file mode 100644
index 0000000..fbde195
Binary files /dev/null and b/images/C/menus/edit/fill-selection-outline.png differ
diff --git a/images/C/menus/select/remove-holes-ex1.png b/images/C/menus/select/remove-holes-ex1.png
new file mode 100644
index 0000000..f014616
Binary files /dev/null and b/images/C/menus/select/remove-holes-ex1.png differ
diff --git a/images/C/menus/select/remove-holes-ex2.png b/images/C/menus/select/remove-holes-ex2.png
new file mode 100644
index 0000000..2389142
Binary files /dev/null and b/images/C/menus/select/remove-holes-ex2.png differ
diff --git a/images/C/menus/select/remove-holes-ex3.png b/images/C/menus/select/remove-holes-ex3.png
new file mode 100644
index 0000000..aa8e690
Binary files /dev/null and b/images/C/menus/select/remove-holes-ex3.png differ
diff --git a/images/C/menus/select/remove-holes-ex4.png b/images/C/menus/select/remove-holes-ex4.png
new file mode 100644
index 0000000..d4f4cb1
Binary files /dev/null and b/images/C/menus/select/remove-holes-ex4.png differ
diff --git a/images/C/menus/windows/edit.png b/images/C/menus/windows/edit.png
new file mode 100644
index 0000000..ada28cb
Binary files /dev/null and b/images/C/menus/windows/edit.png differ
diff --git a/src/menus/edit.xml b/src/menus/edit.xml
index 35bc190..349ea6e 100644
--- a/src/menus/edit.xml
+++ b/src/menus/edit.xml
@@ -37,6 +37,8 @@
<xi:include href="edit/fill-fg.xml"/>
<xi:include href="edit/fill-bg.xml"/>
<xi:include href="edit/fill-pattern.xml"/>
+ <xi:include href="edit/fill-selection-outline.xml"/>
+ <xi:include href="edit/fill-path.xml"/>
<xi:include href="edit/stroke-selection.xml"/>
<xi:include href="edit/stroke-path.xml"/>
<!-- separator -->
diff --git a/src/menus/edit/fill-path.xml b/src/menus/edit/fill-path.xml
new file mode 100644
index 0000000..7565d44
--- /dev/null
+++ b/src/menus/edit/fill-path.xml
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.docbook.org/xml/4.5/docbookx.dtd">
+<!-- section history:
+ 2007-10-15 j.h : created (inspired from the GIMP Developers site)
+-->
+<sect2 id="gimp-edit-fill-path">
+ <title>Fill Path</title>
+
+ <indexterm>
+ <primary>Fill Path</primary>
+ </indexterm>
+
+ <para>
+ This command is usually grayed out. It becomes active when a path exists.
+ </para>
+ <para>
+ This function fills all areas delimited bythe path from the origine to the end
+ </para>
+
+ <sect3>
+ <title>Activate the command</title>
+ <para>
+ You can get to this command from the image Menu bar through:
+ <menuchoice>
+ <guimenu>Edit</guimenu>
+ <guimenuitem>Fill Path…</guimenuitem>
+ </menuchoice>
+ </para>
+ </sect3>
+
+ <sect3>
+ <title>Options</title>
+ <para>
+ This command brings up a dialog window:
+ </para>
+ <figure>
+ <title>The <quote>Choose Fill Style</quote> dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata format="PNG"
+ fileref="images/menus/edit/fill-selection-outline.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <variablelist>
+ <varlistentry>
+ <term>Solid color</term>
+ <listitem>
+ <para>
+ The foreground color of the toolbox is used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Pattern</term>
+ <listitem>
+ <para>
+ The active pattern of the toolbox is used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Antialiasing</term>
+ <listitem>
+ <para>
+ This option is checked by default.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <figure>
+ <title>Fill Path Example</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata format="PNG"
+ fileref="images/menus/edit/fill-path-ex1.png"/>
+ </imageobject>
+ <caption>
+ <para>Before filling</para>
+ </caption>
+ </mediaobject>
+ <mediaobject>
+ <imageobject>
+ <imagedata format="PNG"
+ fileref="images/menus/edit/fill-path-ex2.png"/>
+ </imageobject>
+ <caption>
+ <para>After filling</para>
+ </caption>
+ </mediaobject>
+ </figure>
+ </sect3>
+</sect2>
\ No newline at end of file
diff --git a/src/menus/edit/fill-selection-outline.xml b/src/menus/edit/fill-selection-outline.xml
new file mode 100644
index 0000000..5980d8a
--- /dev/null
+++ b/src/menus/edit/fill-selection-outline.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.docbook.org/xml/4.5/docbookx.dtd">
+<!-- section history:
+ 2017-03-04 j.h : created
+-->
+<sect2 id="gimp-edit-fill-selection-outline">
+ <title>Fill Selection Outline</title>
+
+ <indexterm>
+ <primary>Fill Selection Outline</primary>
+ </indexterm>
+
+ <para>
+ This command is usually grayed out. It becomes active when a selection
+ exists.
+ </para>
+ <para>
+ TODO.
+ <!--Sorry, my gimp-2.9.5 fills the selection, not the the outline.-->
+ </para>
+
+ <sect3>
+ <title>Activate the command</title>
+ <para>
+ You can get to this command from the image Menu bar through:
+ <menuchoice>
+ <guimenu>Edit</guimenu>
+ <guimenuitem>Fill Selection Outline…</guimenuitem>
+ </menuchoice>
+ </para>
+ </sect3>
+
+ <sect3>
+ <title>Options</title>
+ <para>
+ This command brings up a dialog window:
+ </para>
+ <figure>
+ <title>The <quote>Choose Fill Style</quote> dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata format="PNG"
+ fileref="images/menus/edit/fill-selection-outline.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <variablelist>
+ <varlistentry>
+ <term>Solid color</term>
+ <listitem>
+ <para>
+ The foreground color of the toolbox is used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Pattern</term>
+ <listitem>
+ <para>
+ The active pattern of the toolbox is used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Antialiasing</term>
+ <listitem>
+ <para>
+ This option is checked by default.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </sect3>
+</sect2>
\ No newline at end of file
diff --git a/src/menus/file/show-in-file-manager.xml b/src/menus/file/show-in-file-manager.xml
index b0d9b28..0400f8f 100644
--- a/src/menus/file/show-in-file-manager.xml
+++ b/src/menus/file/show-in-file-manager.xml
@@ -3,7 +3,7 @@
"http://www.docbook.org/xml/4.5/docbookx.dtd">
<sect2 id="gimp-show-in-file-manager">
-<title></title>
+ <title>Show in File Manager</title>
<indexterm><primary>Show in File Manager</primary></indexterm>
diff --git a/src/menus/select.xml b/src/menus/select.xml
index 6a1259f..785aabe 100644
--- a/src/menus/select.xml
+++ b/src/menus/select.xml
@@ -36,13 +36,14 @@
<xi:include href="select/float.xml"/>
<xi:include href="select/by_color.xml"/>
<xi:include href="select/from-path.xml"/>
- <xi:include href="select/dialog.xml"/> <!--Selection Editor-->
+ <xi:include href="select/selection-editor.xml"/>
<!-- -->
<xi:include href="select/feather.xml"/>
<xi:include href="select/sharpen.xml"/>
<xi:include href="select/shrink.xml"/>
<xi:include href="select/grow.xml"/>
<xi:include href="select/border.xml"/>
+ <xi:include href="select/remove-holes.xml"/>
<xi:include href="select/distort.xml"/>
<xi:include href="select/rounded-rectangle.xml"/>
<!-- -->
diff --git a/src/menus/select/remove-holes.xml b/src/menus/select/remove-holes.xml
new file mode 100644
index 0000000..e75c8c7
--- /dev/null
+++ b/src/menus/select/remove-holes.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.docbook.org/xml/4.5/docbookx.dtd">
+<!-- section history:
+ 2017-03-05 j.h: created
+-->
+<sect2 id="gimp-selection-remove-holes">
+ <title>Remove Holes</title>
+
+ <indexterm>
+ <primary>Selection</primary>
+ <secondary>Remove Holes</secondary>
+ </indexterm>
+ <indexterm>
+ <primary>Remove Holes</primary>
+ </indexterm>
+
+ <para>
+ This command removes the holes of a selection. Holes are unselected or
+ partially selected areas in the selection.
+ </para>
+
+ <sect3>
+ <title>Activating the Command</title>
+ <para>
+ You can access this command from the image menubar through
+ <menuchoice>
+ <guimenu>Select</guimenu>
+ <guimenuitem>Remove Holes</guimenuitem>
+ </menuchoice>.
+ </para>
+ </sect3>
+
+ <sect3>
+ <title>Example for Remove Holes</title>
+ <figure>
+ <title>A selection and the Selection Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/menus/select/remove-holes-ex1.png" format="PNG"/>
+ </imageobject>
+ <caption>
+ <para>
+ Selection using the Fuzzy Select tool.
+ </para>
+ </caption>
+ </mediaobject>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/menus/select/remove-holes-ex2.png" format="PNG"/>
+ </imageobject>
+ <caption>
+ <para>
+ The Selection Editor shows several holes.
+ </para>
+ </caption>
+ </mediaobject>
+ </figure>
+
+ <figure>
+ <title>Remove Holes applied and the Selection Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/menus/select/remove-holes-ex3.png" format="PNG"/>
+ </imageobject>
+ <caption>
+ <para>
+ Remove Holes applied.
+ </para>
+ </caption>
+ </mediaobject>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/menus/select/remove-holes-ex4.png" format="PNG"/>
+ </imageobject>
+ <caption>
+ <para>
+ Holes disapeared.
+ </para>
+ </caption>
+ </mediaobject>
+ </figure>
+ </sect3>
+</sect2>
diff --git a/src/menus/select/dialog.xml b/src/menus/select/selection-editor.xml
similarity index 99%
rename from src/menus/select/dialog.xml
rename to src/menus/select/selection-editor.xml
index f4229d5..2459f00 100644
--- a/src/menus/select/dialog.xml
+++ b/src/menus/select/selection-editor.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
- "http://www.docbook.org/xml/4.3/docbookx.dtd">
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.docbook.org/xml/4.5/docbookx.dtd">
<!-- section history:
2009-01-10 j.h: reviewed for v2.6
2006-08-14 New section added by sally
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]