Revision: 19115
          http://sourceforge.net/p/gate/code/19115
Author:   markagreenwood
Date:     2016-02-05 12:29:10 +0000 (Fri, 05 Feb 2016)
Log Message:
-----------
the icon now works and is an SVG for a nicer scalable look

Modified Paths:
--------------
    gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp
    gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishIE.java

Added Paths:
-----------
    gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/
    gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/Danish.svg
    gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/DanishIcon.java

Removed Paths:
-------------
    gate/trunk/plugins/Lang_Danish/src/gate/resources/img/danish.png

Modified: gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp
===================================================================
--- gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp 2016-02-05 11:51:31 UTC 
(rev 19114)
+++ gate/trunk/plugins/Lang_Danish/resources/dkie.xgapp 2016-02-05 12:29:10 UTC 
(rev 19115)
@@ -220,9 +220,9 @@
       <localMap>
         <entry>
           <string>gate.gui.icon</string>
-          <string>danish</string>
+          <string>Danish</string>
         </entry>
       </localMap>
     </features>
   </application>
-</gate.util.persistence.GateApplication>
\ No newline at end of file
+</gate.util.persistence.GateApplication>

Modified: gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishIE.java
===================================================================
--- gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishIE.java        
2016-02-05 11:51:31 UTC (rev 19114)
+++ gate/trunk/plugins/Lang_Danish/src/gate/danish/DanishIE.java        
2016-02-05 12:29:10 UTC (rev 19115)
@@ -17,7 +17,7 @@
 import gate.creole.metadata.AutoInstanceParam;
 import gate.creole.metadata.CreoleResource;
 
-@CreoleResource(name = "Danish IE System",
+@CreoleResource(name = "Danish IE System", icon = "Danish",
     comment = "Ready-made Danish IE application",
     autoinstances = @AutoInstance(parameters = {
        @AutoInstanceParam(name="pipelineURL", value="resources/dkie.xgapp"),

Deleted: gate/trunk/plugins/Lang_Danish/src/gate/resources/img/danish.png
===================================================================
(Binary files differ)

Added: gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/Danish.svg
===================================================================
--- gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/Danish.svg        
                        (rev 0)
+++ gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/Danish.svg        
2016-02-05 12:29:10 UTC (rev 19115)
@@ -0,0 +1,304 @@
+<?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://web.resource.org/cc/";
+   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://inkscape.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   id="svg2488"
+   sodipodi:version="0.32"
+   inkscape:version="0.43"
+   width="48"
+   height="48"
+   version="1.0"
+   sodipodi:docbase="/home/vinicius/tango-icon-theme-code/FlagSet/scalable"
+   sodipodi:docname="flag-dk.svg"
+   inkscape:export-filename="/home/vinicius/tango-icon-theme-code/flag-dk.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <metadata
+     id="metadata2493">
+    <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>Denmark Flag</dc:title>
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Vinicius Depizzol</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:source>[email protected]</dc:source>
+        <dc:subject>
+          <rdf:Bag>
+            <rdf:li>Denmark flag dk</rdf:li>
+          </rdf:Bag>
+        </dc:subject>
+        <cc:license
+           rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/"; />
+      </cc:Work>
+      <cc:License
+         rdf:about="http://creativecommons.org/licenses/by-sa/2.0/";>
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Reproduction"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Distribution"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Notice"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Attribution"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/ShareAlike"; />
+      </cc:License>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs2491">
+    <linearGradient
+       id="linearGradient5101">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop5103" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.82203388;"
+         offset="1"
+         id="stop5105" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient5060">
+      <stop
+         style="stop-color:black;stop-opacity:1;"
+         offset="0"
+         id="stop5062" />
+      <stop
+         style="stop-color:black;stop-opacity:0;"
+         offset="1"
+         id="stop5064" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient5048">
+      <stop
+         style="stop-color:black;stop-opacity:0;"
+         offset="0"
+         id="stop5050" />
+      <stop
+         id="stop5056"
+         offset="0.5"
+         style="stop-color:black;stop-opacity:1;" />
+      <stop
+         style="stop-color:black;stop-opacity:0;"
+         offset="1"
+         id="stop5052" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient16494">
+      <stop
+         style="stop-color:#204a87;stop-opacity:1;"
+         offset="0"
+         id="stop16496" />
+      <stop
+         id="stop16502"
+         offset="0.21212122"
+         style="stop-color:#3f7bd2;stop-opacity:1;" />
+      <stop
+         style="stop-color:#204a87;stop-opacity:1;"
+         offset="1"
+         id="stop16498" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient16522">
+      <stop
+         style="stop-color:#edda00;stop-opacity:1;"
+         offset="0"
+         id="stop16524" />
+      <stop
+         id="stop16530"
+         offset="0.27272728"
+         style="stop-color:#fff491;stop-opacity:1;" />
+      <stop
+         style="stop-color:#ebd200;stop-opacity:1;"
+         offset="1"
+         id="stop16526" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient3289">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop3291" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.53389829;"
+         offset="1"
+         id="stop3293" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient7336">
+      <stop
+         id="stop7338"
+         offset="0"
+         style="stop-color:#cc0000;stop-opacity:1;" />
+      <stop
+         style="stop-color:#ed3939;stop-opacity:1;"
+         offset="0.17355372"
+         id="stop7340" />
+      <stop
+         id="stop3298"
+         offset="0.63636363"
+         style="stop-color:#b02121;stop-opacity:1;" />
+      <stop
+         id="stop7342"
+         offset="1"
+         style="stop-color:#d91b1b;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient5048"
+       id="linearGradient3523"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(3.781761,0,0,1.969706,-2104.846,-856.0366)"
+       x1="302.85715"
+       y1="366.64789"
+       x2="302.85715"
+       y2="609.50507" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient5060"
+       id="radialGradient3525"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(2.03716,0,0,1.969706,-1052.701,-856.2756)"
+       cx="605.71429"
+       cy="486.64789"
+       fx="605.71429"
+       fy="486.64789"
+       r="117.14286" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient5060"
+       id="radialGradient3527"
+       gradientUnits="userSpaceOnUse"
+       
gradientTransform="matrix(-2.03716,-1.450628e-15,-2.23555e-15,2.018058,-423.3185,-879.5624)"
+       cx="605.71429"
+       cy="486.64789"
+       fx="605.71429"
+       fy="486.64789"
+       r="117.14286" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient16494"
+       id="linearGradient3543"
+       gradientUnits="userSpaceOnUse"
+       x1="82.585045"
+       y1="28.112621"
+       x2="92.954216"
+       y2="28.112621" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient16522"
+       id="linearGradient3549"
+       gradientUnits="userSpaceOnUse"
+       x1="69.857536"
+       y1="-19.37989"
+       x2="86.576172"
+       y2="-36.549217"
+       
gradientTransform="matrix(1.069802,0.713202,-1.069802,0.713202,-89.1816,-13.57388)"
 />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3289"
+       id="linearGradient3552"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.285742,0,0,1.285742,-13.28717,-14.93762)"
+       x1="36.880539"
+       y1="20.811714"
+       x2="23.073864"
+       y2="43.531128" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient7336"
+       id="linearGradient3555"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.285742,0,0,1.285742,-13.28717,-14.93762)"
+       x1="11.002116"
+       y1="29.756582"
+       x2="46.998974"
+       y2="29.756582" />
+  </defs>
+  <sodipodi:namedview
+     inkscape:window-height="711"
+     inkscape:window-width="1014"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     borderopacity="1.0"
+     bordercolor="#666666"
+     pagecolor="#ffffff"
+     id="base"
+     showgrid="false"
+     showborder="false"
+     showguides="true"
+     inkscape:guide-bbox="true"
+     inkscape:zoom="5.7826087"
+     inkscape:cx="37"
+     inkscape:cy="11"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:current-layer="svg2488"
+     fill="#a40000" />
+  <g
+     transform="matrix(1.971468e-2,0,0,3.343226e-2,-22.45038,36.48228)"
+     id="g2612">
+    <g
+       transform="translate(1.031397e-13,-59.82244)"
+       id="g2623">
+      <g
+         id="g3518"
+         transform="matrix(1.043479,0,0,1,3126.228,-59.82246)">
+        <rect
+           
style="opacity:0.40206185;color:#000000;fill:url(#linearGradient3523);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+           id="rect6709"
+           width="1826.0504"
+           height="478.35718"
+           x="-1651.0347"
+           y="-133.84804" />
+        <path
+           
style="opacity:0.40206185;color:#000000;fill:url(#radialGradient3525);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+           d="M 175.01578,-134.07052 C 175.01578,-134.07052 
175.01578,344.26027 175.01578,344.26027 C 279.92447,345.16072 
428.63395,237.09061 428.63389,105.06409 C 428.63389,-26.962449 
311.56369,-134.0705 175.01578,-134.07052 z "
+           id="path6711"
+           sodipodi:nodetypes="cccc" />
+        <path
+           sodipodi:nodetypes="cccc"
+           id="path6713"
+           d="M -1651.0346,-133.82723 C -1651.0346,-133.82723 
-1651.0346,344.50356 -1651.0346,344.50356 C -1755.9433,345.40401 
-1904.6528,237.3339 -1904.6528,105.30739 C -1904.6528,-26.719152 
-1787.5825,-133.82721 -1651.0346,-133.82723 z "
+           
style="opacity:0.40206185;color:#000000;fill:url(#radialGradient3527);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
 />
+      </g>
+    </g>
+  </g>
+  <path
+     
style="color:#000000;fill:url(#linearGradient3555);fill-opacity:1;fill-rule:evenodd;stroke:#5e1919;stroke-width:1.00000024;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
+     d="M 1.5015853,8.4106625 C 13.307709,0.00096089264 34.469635,10.910843 
46.49851,8.4106625 L 46.49851,40.685732 C 34.915145,44.549649 
14.867007,32.50332 1.5015853,40.685732 L 1.5015853,8.4106625 z "
+     id="path6459"
+     sodipodi:nodetypes="ccccc" />
+  <path
+     
style="opacity:0.62921346;color:#000000;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient3552);stroke-width:1.00000072;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
+     d="M 2.4200049,8.9831044 C 12.676559,1.6180695 33.709704,11.483286 
45.541057,9.6259754 L 45.535014,39.959195 C 36.647887,43.028447 
15.874652,32.449287 2.5003638,39.087261 L 2.4200049,8.9831044 z "
+     id="path16506"
+     sodipodi:nodetypes="ccccc" />
+  <path
+     
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
+     d="M 13,5.6852838 L 17,5.7482271 L 17,37.352719 L 13,37.262583 L 
13,5.6852838 z "
+     id="rect3352"
+     sodipodi:nodetypes="ccccc" />
+  <path
+     sodipodi:nodetypes="ccccc"
+     id="path5109"
+     d="M 1.9925584,22.437484 C 13.798682,14.027783 33.971102,24.937665 
45.999977,22.437484 L 45.999977,25.54732 C 34.416612,29.411237 
15.35798,17.364908 1.9925584,25.54732 L 1.9925584,22.437484 z "
+     
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.00000024;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
 />
+</svg>

Added: gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/DanishIcon.java
===================================================================
--- gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/DanishIcon.java   
                        (rev 0)
+++ gate/trunk/plugins/Lang_Danish/src/gate/resources/img/svg/DanishIcon.java   
2016-02-05 12:29:10 UTC (rev 19115)
@@ -0,0 +1,368 @@
+package gate.resources.img.svg;
+
+import java.awt.*;
+import java.awt.geom.*;
+import java.awt.image.*;
+
+import java.awt.image.BufferedImage;
+import java.io.IOException;
+import javax.imageio.ImageIO;
+
+/**
+ * This class has been automatically generated using <a
+ * 
href="http://englishjavadrinker.blogspot.com/search/label/SVGRoundTrip";>SVGRoundTrip</a>.
+ */
+@SuppressWarnings("unused")
+public class DanishIcon implements
+               javax.swing.Icon {
+       /**
+        * Paints the transcoded SVG image on the specified graphics context. 
You
+        * can install a custom transformation on the graphics context to scale 
the
+        * image.
+        * 
+        * @param g
+        *            Graphics context.
+        */
+       public static void paint(Graphics2D g) {
+        Shape shape = null;
+        Paint paint = null;
+        Stroke stroke = null;
+        Area clip = null;
+         
+        float origAlpha = 1.0f;
+        Composite origComposite = g.getComposite();
+        if (origComposite instanceof AlphaComposite) {
+            AlphaComposite origAlphaComposite = 
+                (AlphaComposite)origComposite;
+            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
+                origAlpha = origAlphaComposite.getAlpha();
+            }
+        }
+        
+           Shape clip_ = g.getClip();
+AffineTransform defaultTransform_ = g.getTransform();
+//  is CompositeGraphicsNode
+float alpha__0 = origAlpha;
+origAlpha = origAlpha * 1.0f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0 = g.getClip();
+AffineTransform defaultTransform__0 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+clip = new Area(g.getClip());
+clip.intersect(new Area(new Rectangle2D.Double(0.0,0.0,48.0,48.0)));
+g.setClip(clip);
+// _0 is CompositeGraphicsNode
+float alpha__0_0 = origAlpha;
+origAlpha = origAlpha * 1.0f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_0 = g.getClip();
+AffineTransform defaultTransform__0_0 = g.getTransform();
+g.transform(new AffineTransform(0.019714679569005966f, 0.0f, 0.0f, 
0.033432260155677795f, -22.450380325317383f, 36.48228073120117f));
+// _0_0 is CompositeGraphicsNode
+float alpha__0_0_0 = origAlpha;
+origAlpha = origAlpha * 1.0f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_0_0 = g.getClip();
+AffineTransform defaultTransform__0_0_0 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 
1.0313969865888631E-13f, -59.82244110107422f));
+// _0_0_0 is CompositeGraphicsNode
+float alpha__0_0_0_0 = origAlpha;
+origAlpha = origAlpha * 1.0f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_0_0_0 = g.getClip();
+AffineTransform defaultTransform__0_0_0_0 = g.getTransform();
+g.transform(new AffineTransform(1.0434789657592773f, 0.0f, 0.0f, 1.0f, 
3126.22802734375f, -59.82246017456055f));
+// _0_0_0_0 is CompositeGraphicsNode
+float alpha__0_0_0_0_0 = origAlpha;
+origAlpha = origAlpha * 0.40206185f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_0_0_0_0 = g.getClip();
+AffineTransform defaultTransform__0_0_0_0_0 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+// _0_0_0_0_0 is ShapeNode
+paint = new LinearGradientPaint(new Point2D.Double(302.8571472167969, 
366.64788818359375), new Point2D.Double(302.8571472167969, 609.5050659179688), 
new float[] {0.0f,0.5f,1.0f}, new Color[] {new Color(0, 0, 0, 0),new Color(0, 
0, 0, 255),new Color(0, 0, 0, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, 
MultipleGradientPaint.ColorSpaceType.SRGB, new 
AffineTransform(3.7817609310150146f, 0.0f, 0.0f, 1.9697060585021973f, 
-2104.845947265625f, -856.03662109375f));
+shape = new Rectangle2D.Double(-1651.03466796875, -133.84803771972656, 
1826.0504150390625, 478.357177734375);
+g.setPaint(paint);
+g.fill(shape);
+origAlpha = alpha__0_0_0_0_0;
+g.setTransform(defaultTransform__0_0_0_0_0);
+g.setClip(clip__0_0_0_0_0);
+float alpha__0_0_0_0_1 = origAlpha;
+origAlpha = origAlpha * 0.40206185f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_0_0_0_1 = g.getClip();
+AffineTransform defaultTransform__0_0_0_0_1 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+// _0_0_0_0_1 is ShapeNode
+paint = new RadialGradientPaint(new Point2D.Double(605.7142944335938, 
486.64788818359375), 117.14286f, new Point2D.Double(605.7142944335938, 
486.64788818359375), new float[] {0.0f,1.0f}, new Color[] {new Color(0, 0, 0, 
255),new Color(0, 0, 0, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, 
MultipleGradientPaint.ColorSpaceType.SRGB, new 
AffineTransform(2.0371599197387695f, 0.0f, 0.0f, 1.9697060585021973f, 
-1052.7010498046875f, -856.2755737304688f));
+shape = new GeneralPath();
+((GeneralPath)shape).moveTo(175.01578, -134.07053);
+((GeneralPath)shape).curveTo(175.01578, -134.07053, 175.01578, 344.26028, 
175.01578, 344.26028);
+((GeneralPath)shape).curveTo(279.92447, 345.1607, 428.63394, 237.0906, 
428.63388, 105.06409);
+((GeneralPath)shape).curveTo(428.63388, -26.962448, 311.5637, -134.0705, 
175.01578, -134.07053);
+((GeneralPath)shape).closePath();
+g.setPaint(paint);
+g.fill(shape);
+origAlpha = alpha__0_0_0_0_1;
+g.setTransform(defaultTransform__0_0_0_0_1);
+g.setClip(clip__0_0_0_0_1);
+float alpha__0_0_0_0_2 = origAlpha;
+origAlpha = origAlpha * 0.40206185f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_0_0_0_2 = g.getClip();
+AffineTransform defaultTransform__0_0_0_0_2 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+// _0_0_0_0_2 is ShapeNode
+paint = new RadialGradientPaint(new Point2D.Double(605.7142944335938, 
486.64788818359375), 117.14286f, new Point2D.Double(605.7142944335938, 
486.64788818359375), new float[] {0.0f,1.0f}, new Color[] {new Color(0, 0, 0, 
255),new Color(0, 0, 0, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, 
MultipleGradientPaint.ColorSpaceType.SRGB, new 
AffineTransform(-2.0371599197387695f, -1.4506279901930043E-15f, 
-2.235549917249278E-15f, 2.0180580615997314f, -423.3185119628906f, 
-879.5623779296875f));
+shape = new GeneralPath();
+((GeneralPath)shape).moveTo(-1651.0345, -133.82722);
+((GeneralPath)shape).curveTo(-1651.0345, -133.82722, -1651.0345, 344.50357, 
-1651.0345, 344.50357);
+((GeneralPath)shape).curveTo(-1755.9434, 345.40402, -1904.6528, 237.3339, 
-1904.6528, 105.30739);
+((GeneralPath)shape).curveTo(-1904.6528, -26.719152, -1787.5825, -133.82721, 
-1651.0345, -133.82722);
+((GeneralPath)shape).closePath();
+g.setPaint(paint);
+g.fill(shape);
+origAlpha = alpha__0_0_0_0_2;
+g.setTransform(defaultTransform__0_0_0_0_2);
+g.setClip(clip__0_0_0_0_2);
+origAlpha = alpha__0_0_0_0;
+g.setTransform(defaultTransform__0_0_0_0);
+g.setClip(clip__0_0_0_0);
+origAlpha = alpha__0_0_0;
+g.setTransform(defaultTransform__0_0_0);
+g.setClip(clip__0_0_0);
+origAlpha = alpha__0_0;
+g.setTransform(defaultTransform__0_0);
+g.setClip(clip__0_0);
+float alpha__0_1 = origAlpha;
+origAlpha = origAlpha * 1.0f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_1 = g.getClip();
+AffineTransform defaultTransform__0_1 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+// _0_1 is ShapeNode
+paint = new LinearGradientPaint(new Point2D.Double(11.002116203308105, 
29.756582260131836), new Point2D.Double(46.99897384643555, 29.756582260131836), 
new float[] {0.0f,0.17355372f,0.6363636f,1.0f}, new Color[] {new Color(204, 0, 
0, 255),new Color(237, 57, 57, 255),new Color(176, 33, 33, 255),new Color(217, 
27, 27, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, 
MultipleGradientPaint.ColorSpaceType.SRGB, new 
AffineTransform(1.2857420444488525f, 0.0f, 0.0f, 1.2857420444488525f, 
-13.28717041015625f, -14.937620162963867f));
+shape = new GeneralPath();
+((GeneralPath)shape).moveTo(1.5015852, 8.410663);
+((GeneralPath)shape).curveTo(13.307709, 9.6089265E-4, 34.469635, 10.910843, 
46.49851, 8.410663);
+((GeneralPath)shape).lineTo(46.49851, 40.685734);
+((GeneralPath)shape).curveTo(34.915146, 44.54965, 14.867007, 32.50332, 
1.5015852, 40.685734);
+((GeneralPath)shape).lineTo(1.5015852, 8.410663);
+((GeneralPath)shape).closePath();
+g.setPaint(paint);
+g.fill(shape);
+paint = new Color(94, 25, 25, 255);
+stroke = new BasicStroke(1.0000002f,0,0,4.0f,null,0.0f);
+shape = new GeneralPath();
+((GeneralPath)shape).moveTo(1.5015852, 8.410663);
+((GeneralPath)shape).curveTo(13.307709, 9.6089265E-4, 34.469635, 10.910843, 
46.49851, 8.410663);
+((GeneralPath)shape).lineTo(46.49851, 40.685734);
+((GeneralPath)shape).curveTo(34.915146, 44.54965, 14.867007, 32.50332, 
1.5015852, 40.685734);
+((GeneralPath)shape).lineTo(1.5015852, 8.410663);
+((GeneralPath)shape).closePath();
+g.setPaint(paint);
+g.setStroke(stroke);
+g.draw(shape);
+origAlpha = alpha__0_1;
+g.setTransform(defaultTransform__0_1);
+g.setClip(clip__0_1);
+float alpha__0_2 = origAlpha;
+origAlpha = origAlpha * 0.62921345f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_2 = g.getClip();
+AffineTransform defaultTransform__0_2 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+// _0_2 is ShapeNode
+paint = new LinearGradientPaint(new Point2D.Double(36.88053894042969, 
20.81171417236328), new Point2D.Double(23.073863983154297, 43.5311279296875), 
new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new 
Color(255, 255, 255, 136)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, 
MultipleGradientPaint.ColorSpaceType.SRGB, new 
AffineTransform(1.2857420444488525f, 0.0f, 0.0f, 1.2857420444488525f, 
-13.28717041015625f, -14.937620162963867f));
+stroke = new BasicStroke(1.0000007f,0,0,4.0f,null,0.0f);
+shape = new GeneralPath();
+((GeneralPath)shape).moveTo(2.4200048, 8.983105);
+((GeneralPath)shape).curveTo(12.676559, 1.6180695, 33.709705, 11.483286, 
45.541058, 9.625976);
+((GeneralPath)shape).lineTo(45.535015, 39.959194);
+((GeneralPath)shape).curveTo(36.64789, 43.028446, 15.874652, 32.449287, 
2.5003638, 39.08726);
+((GeneralPath)shape).lineTo(2.4200048, 8.983105);
+((GeneralPath)shape).closePath();
+g.setPaint(paint);
+g.setStroke(stroke);
+g.draw(shape);
+origAlpha = alpha__0_2;
+g.setTransform(defaultTransform__0_2);
+g.setClip(clip__0_2);
+float alpha__0_3 = origAlpha;
+origAlpha = origAlpha * 1.0f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_3 = g.getClip();
+AffineTransform defaultTransform__0_3 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+// _0_3 is ShapeNode
+paint = new Color(255, 255, 255, 255);
+shape = new GeneralPath();
+((GeneralPath)shape).moveTo(13.0, 5.6852837);
+((GeneralPath)shape).lineTo(17.0, 5.748227);
+((GeneralPath)shape).lineTo(17.0, 37.35272);
+((GeneralPath)shape).lineTo(13.0, 37.262585);
+((GeneralPath)shape).lineTo(13.0, 5.6852837);
+((GeneralPath)shape).closePath();
+g.setPaint(paint);
+g.fill(shape);
+origAlpha = alpha__0_3;
+g.setTransform(defaultTransform__0_3);
+g.setClip(clip__0_3);
+float alpha__0_4 = origAlpha;
+origAlpha = origAlpha * 1.0f;
+g.setComposite(AlphaComposite.getInstance(3, origAlpha));
+Shape clip__0_4 = g.getClip();
+AffineTransform defaultTransform__0_4 = g.getTransform();
+g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
+// _0_4 is ShapeNode
+paint = new Color(255, 255, 255, 255);
+shape = new GeneralPath();
+((GeneralPath)shape).moveTo(1.9925584, 22.437485);
+((GeneralPath)shape).curveTo(13.798682, 14.027783, 33.971104, 24.937666, 
45.999977, 22.437485);
+((GeneralPath)shape).lineTo(45.999977, 25.54732);
+((GeneralPath)shape).curveTo(34.41661, 29.411238, 15.35798, 17.364908, 
1.9925584, 25.54732);
+((GeneralPath)shape).lineTo(1.9925584, 22.437485);
+((GeneralPath)shape).closePath();
+g.setPaint(paint);
+g.fill(shape);
+origAlpha = alpha__0_4;
+g.setTransform(defaultTransform__0_4);
+g.setClip(clip__0_4);
+origAlpha = alpha__0;
+g.setTransform(defaultTransform__0);
+g.setClip(clip__0);
+g.setTransform(defaultTransform_);
+g.setClip(clip_);
+
+       }
+       
+       public Image getImage() {
+               BufferedImage image =
+            new BufferedImage(getIconWidth(), getIconHeight(),
+                    BufferedImage.TYPE_INT_ARGB);
+       Graphics2D g = image.createGraphics();
+       paintIcon(null, g, 0, 0);
+       g.dispose();
+       return image;
+       }
+
+    /**
+     * Returns the X of the bounding box of the original SVG image.
+     * 
+     * @return The X of the bounding box of the original SVG image.
+     */
+    public static int getOrigX() {
+        return 0;
+    }
+
+    /**
+     * Returns the Y of the bounding box of the original SVG image.
+     * 
+     * @return The Y of the bounding box of the original SVG image.
+     */
+    public static int getOrigY() {
+        return 1;
+    }
+
+       /**
+        * Returns the width of the bounding box of the original SVG image.
+        * 
+        * @return The width of the bounding box of the original SVG image.
+        */
+       public static int getOrigWidth() {
+               return 48;
+       }
+
+       /**
+        * Returns the height of the bounding box of the original SVG image.
+        * 
+        * @return The height of the bounding box of the original SVG image.
+        */
+       public static int getOrigHeight() {
+               return 48;
+       }
+
+       /**
+        * The current width of this resizable icon.
+        */
+       int width;
+
+       /**
+        * The current height of this resizable icon.
+        */
+       int height;
+
+       /**
+        * Creates a new transcoded SVG image.
+        */
+       public DanishIcon() {
+        this.width = getOrigWidth();
+        this.height = getOrigHeight();
+       }
+       
+       /**
+        * Creates a new transcoded SVG image with the given dimensions.
+        *
+        * @param size the dimensions of the icon
+        */
+       public DanishIcon(Dimension size) {
+       this.width = size.width;
+       this.height = size.width;
+       }
+
+       public DanishIcon(int width, int height) {
+       this.width = width;
+       this.height = height;
+       }
+
+       /*
+        * (non-Javadoc)
+        * 
+        * @see javax.swing.Icon#getIconHeight()
+        */
+    @Override
+       public int getIconHeight() {
+               return height;
+       }
+
+       /*
+        * (non-Javadoc)
+        * 
+        * @see javax.swing.Icon#getIconWidth()
+        */
+    @Override
+       public int getIconWidth() {
+               return width;
+       }
+
+       public void setDimension(Dimension newDimension) {
+               this.width = newDimension.width;
+               this.height = newDimension.height;
+       }
+
+       /*
+        * (non-Javadoc)
+        * 
+        * @see javax.swing.Icon#paintIcon(java.awt.Component, 
java.awt.Graphics,
+        * int, int)
+        */
+    @Override
+       public void paintIcon(Component c, Graphics g, int x, int y) {
+               Graphics2D g2d = (Graphics2D) g.create();
+               g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
+                               RenderingHints.VALUE_ANTIALIAS_ON);
+               g2d.translate(x, y);
+                                               
+               Area clip = new Area(new Rectangle(0, 0, this.width, 
this.height));             
+               if (g2d.getClip() != null) clip.intersect(new 
Area(g2d.getClip()));             
+               g2d.setClip(clip);
+
+               double coef1 = (double) this.width / (double) getOrigWidth();
+               double coef2 = (double) this.height / (double) getOrigHeight();
+               double coef = Math.min(coef1, coef2);
+               g2d.scale(coef, coef);
+               paint(g2d);
+               g2d.dispose();
+       }
+}
+

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to