[gimp/icons-wip] icons: add missing gimp-pattern



commit 4a0507daaabcddd1e75a8ba788cb3778baec3c43
Author: klausstaedtler <staedtler-przyborski web de>
Date:   Mon Jun 6 22:37:25 2016 +0200

    icons: add missing gimp-pattern
    
    patch
    gimpicons.c
    gimpicons.h

 icons/Color/16/gimp-pattern.png          |  Bin 0 -> 710 bytes
 icons/Color/scalable/gimp-pattern.svg    |  104 ++++++++++++++++++++++
 icons/Symbolic/16/gimp-pattern.png       |  Bin 0 -> 566 bytes
 icons/Symbolic/scalable/gimp-pattern.svg |  143 ++++++++++++++++++++++++++++++
 libgimpwidgets/gimpicons.c               |    1 +
 libgimpwidgets/gimpicons.h               |    2 +-
 6 files changed, 249 insertions(+), 1 deletions(-)
---
diff --git a/icons/Color/16/gimp-pattern.png b/icons/Color/16/gimp-pattern.png
new file mode 100644
index 0000000..a4e6c34
Binary files /dev/null and b/icons/Color/16/gimp-pattern.png differ
diff --git a/icons/Color/scalable/gimp-pattern.svg b/icons/Color/scalable/gimp-pattern.svg
new file mode 100644
index 0000000..7b53afa
--- /dev/null
+++ b/icons/Color/scalable/gimp-pattern.svg
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   version="1.1"
+   width="16"
+   height="16"
+   id="svg2"
+   viewBox="0 0 16 16"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-pattern.svg">
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     id="namedview1697"
+     showgrid="true"
+     inkscape:zoom="41.7193"
+     inkscape:cx="9.1125793"
+     inkscape:cy="6.9065382"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg2"
+     showguides="false">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4244" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata90">
+    <rdf:RDF>
+      <cc:Work>
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+        <dc:contributor>
+          <cc:Agent>
+            <dc:title>many unknown and unnamed, Andrew Chadwick, Alexandre Prokoudine, Aryeom Han, Benoit 
Touchette, Jakub Steiner, Jehan, Johannes Matschke, Kevin Payne, Klaus Staedtler, Marek Dvoroznak, Michael 
Natterer</dc:title>
+          </cc:Agent>
+        </dc:contributor>
+        <dc:description>Enhanced, extended tango-art-libre for GIMP</dc:description>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs7386">
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient11528"
+       id="linearGradient19943"
+       gradientUnits="userSpaceOnUse"
+       x1="69.1875"
+       y1="234.1875"
+       x2="76.0625"
+       y2="252.02119" />
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient11528">
+      <stop
+         style="stop-color:white;stop-opacity:1;"
+         offset="0"
+         id="stop11530" />
+      <stop
+         style="stop-color:white;stop-opacity:0.2360515"
+         offset="1"
+         id="stop11532" />
+    </linearGradient>
+  </defs>
+  <g
+     style="display:inline"
+     id="fill_pattern"
+     transform="matrix(0.88888939,0,0,0.88888939,-61.333341,-208.88902)">
+    <path
+       
style="opacity:1;fill:#cc0000;fill-opacity:1;stroke:#cc0000;stroke-width:1.01419079;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
+       d="m 70.021817,235.5071 v 3.84054 c 0.324171,0.0931 0.674284,0.15612 1.029442,0.15612 1.988883,0 
3.603048,-1.56669 3.603048,-3.49708 0,-0.16751 -0.0082,-0.33834 -0.03222,-0.49958 z m 11.870705,0 c 
-0.02347,0.16124 -0.03212,0.33207 -0.03212,0.49958 0,1.93039 1.614165,3.49708 3.603048,3.49708 0.355158,0 
0.705271,-0.0631 1.029442,-0.15612 v -3.84054 z m -3.635166,4.99582 c -1.988883,0 -3.603049,1.56669 
-3.603049,3.49708 0,1.93039 1.614166,3.49708 3.603049,3.49708 1.988882,0 3.603048,-1.56669 3.603048,-3.49708 
0,-1.93039 -1.614166,-3.49708 -3.603048,-3.49708 z m -7.206097,7.99332 c -0.549002,0 -1.078341,0.13002 
-1.544164,0.34347 v 3.65319 h 5.114991 c 0.02357,-0.16124 0.03222,-0.33208 0.03222,-0.49958 0,-1.93039 
-1.614165,-3.49708 -3.603047,-3.49708 z m 14.412193,0 c -1.988883,0 -3.603048,1.56669 -3.603048,3.49708 h 
4.63249 v -3.34096 c -0.324171,-0.0931 -0.674284,-0.15612 -1.029442,-0.15612 z"
+       id="path19823"
+       inkscape:connector-curvature="0" />
+    <path
+       id="path19825"
+       d="m 69.562227,235.56227 h 16.875475 v 16.87548 H 69.562227 Z"
+       
style="fill:none;fill-opacity:1;stroke:#555753;stroke-width:1.1245147;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       inkscape:connector-curvature="0" />
+    <path
+       id="path19827"
+       d="m 70.5,236.4998 h 15.00001 v 15.0001 H 70.5 Z"
+       
style="fill:none;fill-opacity:1;stroke:url(#linearGradient19943);stroke-width:0.99999928;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
+       inkscape:connector-curvature="0" />
+  </g>
+</svg>
diff --git a/icons/Symbolic/16/gimp-pattern.png b/icons/Symbolic/16/gimp-pattern.png
new file mode 100644
index 0000000..4b5fe79
Binary files /dev/null and b/icons/Symbolic/16/gimp-pattern.png differ
diff --git a/icons/Symbolic/scalable/gimp-pattern.svg b/icons/Symbolic/scalable/gimp-pattern.svg
new file mode 100644
index 0000000..3adcd3d
--- /dev/null
+++ b/icons/Symbolic/scalable/gimp-pattern.svg
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   viewBox="0 0 16 16"
+   id="svg30571"
+   version="1.1"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-pattern.svg">
+  <defs
+     id="defs30573" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="16"
+     inkscape:cx="25.71875"
+     inkscape:cy="3.347674"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:snap-page="true"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:object-paths="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:object-nodes="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-center="true"
+     inkscape:snap-text-baseline="true"
+     showborder="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:snap-global="false">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3413" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata30576">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Klaus Staedtler</dc:title>
+          </cc:Agent>
+        </dc:creator>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <g
+       transform="translate(-255,249.00002)"
+       id="object-tweak-duplicate"
+       inkscape:label="#tweak_moreless_mode">
+      <rect
+         style="fill:none"
+         width="16"
+         height="16"
+         x="255"
+         y="787.36218"
+         id="rect4103" />
+      <path
+         inkscape:connector-curvature="0"
+         id="use5685"
+         d="m 260.4062,788.3622 c 0.1274,1.3311 1.2293,2.375 2.5938,2.375 1.3645,0 2.4664,-1.0439 
2.5937,-2.375 z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="use5828"
+         d="m 263,799.5809 c -1.4516,0 -2.625,1.2047 -2.625,2.6563 0,0.045 0,0.081 0,0.125 h 5.25 c 0,-0.045 
0,-0.08 0,-0.125 0,-1.4516 -1.1734,-2.6563 -2.625,-2.6563 z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path5885"
+         d="m 270,792.5497 c -1.4208,0.033 -2.5625,1.1961 -2.5625,2.625 0,1.4288 1.1417,2.5916 2.5625,2.625 
z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path5889"
+         d="m 256,792.5497 v 5.25 c 1.4225,-0.034 2.5625,-1.1945 2.5625,-2.625 0,-1.4304 -1.1403,-2.5912 
-2.5625,-2.625 z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path5893"
+         d="m 267.4687,788.3622 c 0.1254,1.3106 1.1959,2.3435 2.5313,2.375 v -2.375 z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path5895"
+         d="m 256,788.3622 v 2.375 c 1.3385,-0.032 2.4077,-1.0615 2.5312,-2.375 z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path5897"
+         d="m 270,799.6122 c -1.4205,0.034 -2.5625,1.1964 -2.5625,2.625 0,0.041 0,0.084 0,0.125 H 270 Z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path5899"
+         d="m 256,799.5809 v 2.7813 h 2.5625 c 0,-0.045 0,-0.08 0,-0.125 0,-1.4306 -1.1401,-2.622 
-2.5625,-2.6563 z"
+         style="color:#000000;fill:#bebebe;stroke-width:0.138679;fill-opacity:1" />
+      <circle
+         inkscape:tile-y0="136.8702"
+         inkscape:tile-x0="373.9822"
+         id="path5911"
+         style="color:#000000;fill:#bebebe;stroke-width:0.24945228;fill-opacity:1"
+         cx="263"
+         cy="795.36218"
+         r="2" />
+    </g>
+  </g>
+</svg>
diff --git a/libgimpwidgets/gimpicons.c b/libgimpwidgets/gimpicons.c
index 981618e..41a2ee7 100644
--- a/libgimpwidgets/gimpicons.c
+++ b/libgimpwidgets/gimpicons.c
@@ -151,6 +151,7 @@ static const GtkStockItem gimp_stock_items[] =
   { GIMP_STOCK_TEXT_DIR_RTL,             NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_PRINT_RESOLUTION,         NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_FONT,                     NULL,        0, 0, LIBGIMP_DOMAIN },
+  { GIMP_STOCK_PATTERN,                  NULL,        0, 0, LIBGIMP_DOMAIN },
 
   { GIMP_STOCK_CONVERT_RGB,              NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_CONVERT_GRAYSCALE,        NULL,        0, 0, LIBGIMP_DOMAIN },
diff --git a/libgimpwidgets/gimpicons.h b/libgimpwidgets/gimpicons.h
index 653690a..d38d469 100644
--- a/libgimpwidgets/gimpicons.h
+++ b/libgimpwidgets/gimpicons.h
@@ -124,6 +124,7 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_INTEND                   "gimp-intend"
 #define GIMP_STOCK_PRINT_RESOLUTION         "gimp-print-resolution"
 #define GIMP_STOCK_FONT                     "gimp-font"
+#define GIMP_STOCK_PATTERN                  "gimp-pattern"
 
 #define GIMP_STOCK_TEXT_DIR_LTR             "gimp-text-dir-ltr"
 #define GIMP_STOCK_TEXT_DIR_RTL             "gimp-text-dir-rtl"
@@ -317,7 +318,6 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_GRADIENT                 GIMP_STOCK_TOOL_BLEND
 #define GIMP_STOCK_MYPAINT_BRUSH            GIMP_STOCK_TOOL_MYPAINT_BRUSH
 #define GIMP_STOCK_PALETTE                  GIMP_STOCK_COLOR_PALETTE
-#define GIMP_STOCK_PATTERN                  GIMP_STOCK_TOOL_BUCKET_FILL
 #define GIMP_STOCK_CONTROLLER_MOUSE         GIMP_STOCK_CURSOR
 #define GIMP_STOCK_CONVERT_PRECISION        GIMP_STOCK_CONVERT_RGB
 


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