[dia/zbrown/gresource-icons: 21/26] Use resources for tool icons



commit efe7a0f4dea2de2ab31b4bab642db457866ced23
Author: Zander Brown <zbrown gnome org>
Date:   Mon Feb 11 20:26:50 2019 +0000

    Use resources for tool icons

 app/app_procs.c                                    |   3 +-
 app/dia.gresource.xml                              |   5 +
 app/diagram_tree_view.c                            |   4 +-
 app/icons/dia-diagram.png                          | Bin 0 -> 2215 bytes
 .../arrow-22.png => icons/dia-tool-modify.png}     | Bin
 .../scroll-22.png => icons/dia-tool-scroll.png}    | Bin
 .../textedit-22.png => icons/dia-tool-text.png}    | Bin
 .../zoom-22.png => icons/dia-tool-zoom.png}        | Bin
 app/interface.c                                    |   1 -
 app/layer_dialog.c                                 |   2 -
 app/menus.c                                        |   1 -
 app/meson.build                                    |   4 +-
 app/pixmaps/arrow.xpm                              |  27 --
 app/pixmaps/dia-diagram.png                        | Bin 1992 -> 0 bytes
 app/pixmaps/eye.xbm                                |   9 -
 app/pixmaps/meson.build                            |  26 --
 app/pixmaps/modify-24x24.png                       | Bin 251 -> 0 bytes
 app/pixmaps/n_a.xpm                                |  26 --
 app/pixmaps/scroll-24x24.png                       | Bin 555 -> 0 bytes
 app/pixmaps/snap-to-grid-mask.xpm                  |  26 --
 app/pixmaps/snap-to-grid.xpm                       |  19 -
 app/pixmaps/zoom-24x24.png                         | Bin 997 -> 0 bytes
 app/toolbox.c                                      | 112 ++---
 app/toolbox.h                                      |   2 +-
 data/diagram.svg                                   | 450 +++++++++++++++++++++
 25 files changed, 498 insertions(+), 219 deletions(-)
---
diff --git a/app/app_procs.c b/app/app_procs.c
index c6629273..6faab7b3 100644
--- a/app/app_procs.c
+++ b/app/app_procs.c
@@ -71,8 +71,7 @@
 #include "exit_dialog.h"
 #include "dialib.h"
 #include "diaerror.h"
-
-#include "dia-app-icons.h"
+#include "widgets.h"
 
 static gboolean
 handle_initial_diagram(const char *input_file_name,
diff --git a/app/dia.gresource.xml b/app/dia.gresource.xml
index d8b13f1b..43944c5f 100644
--- a/app/dia.gresource.xml
+++ b/app/dia.gresource.xml
@@ -2,7 +2,12 @@
 <gresources>
   <gresource prefix="/org/gnome/Dia">
     <file>icons/org.gnome.Dia.png</file>
+    <file>icons/dia-tool-modify.png</file>
+    <file>icons/dia-tool-scroll.png</file>
+    <file>icons/dia-tool-text.png</file>
+    <file>icons/dia-tool-zoom.png</file>
     <file>icons/dia-cursor-create.png</file>
+    <file>icons/dia-diagram.png</file>
     <file>icons/dia-group.png</file>
     <file>icons/dia-ungroup.png</file>
     <file>icons/dia-grid-on.png</file>
diff --git a/app/diagram_tree_view.c b/app/diagram_tree_view.c
index 83cc3685..e1d9ced1 100644
--- a/app/diagram_tree_view.c
+++ b/app/diagram_tree_view.c
@@ -294,9 +294,9 @@ _dtv_cell_pixbuf_func (GtkCellLayout   *layout,
     Layer *layer;
     gtk_tree_model_get (tree_model, iter, LAYER_COLUMN, &layer, -1);
     if (layer)
-      pixbuf = gdk_pixbuf_new_from_inline(-1, dia_layers, TRUE, NULL);
+      pixbuf = pixbuf_from_resource ("/org/gnome/Dia/icons/dia-layers.png");
     else /* must be diagram */
-      pixbuf = gdk_pixbuf_new_from_inline(-1, dia_diagram_icon, TRUE, NULL);
+      pixbuf = pixbuf_from_resource ("/org/gnome/Dia/icons/dia-diagram.png");
 #endif
   }
 
diff --git a/app/icons/dia-diagram.png b/app/icons/dia-diagram.png
new file mode 100644
index 00000000..b450fe47
Binary files /dev/null and b/app/icons/dia-diagram.png differ
diff --git a/app/pixmaps/arrow-22.png b/app/icons/dia-tool-modify.png
similarity index 100%
rename from app/pixmaps/arrow-22.png
rename to app/icons/dia-tool-modify.png
diff --git a/app/pixmaps/scroll-22.png b/app/icons/dia-tool-scroll.png
similarity index 100%
rename from app/pixmaps/scroll-22.png
rename to app/icons/dia-tool-scroll.png
diff --git a/app/pixmaps/textedit-22.png b/app/icons/dia-tool-text.png
similarity index 100%
rename from app/pixmaps/textedit-22.png
rename to app/icons/dia-tool-text.png
diff --git a/app/pixmaps/zoom-22.png b/app/icons/dia-tool-zoom.png
similarity index 100%
rename from app/pixmaps/zoom-22.png
rename to app/icons/dia-tool-zoom.png
diff --git a/app/interface.c b/app/interface.c
index 4825cdba..fd32e492 100644
--- a/app/interface.c
+++ b/app/interface.c
@@ -46,7 +46,6 @@
 #include "ruler.h"
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
-#include "dia-app-icons.h"
 
 static void
 dia_dnd_file_drag_data_received (GtkWidget        *widget,
diff --git a/app/layer_dialog.c b/app/layer_dialog.c
index a1f43e69..e1c1c122 100644
--- a/app/layer_dialog.c
+++ b/app/layer_dialog.c
@@ -41,8 +41,6 @@
 
 #include "dia-application.h" /* dia_diagram_change */
 
-#include "dia-app-icons.h"
-
 /* DiaLayerWidget: */
 #define DIA_LAYER_WIDGET(obj)          \
   G_TYPE_CHECK_INSTANCE_CAST (obj, dia_layer_widget_get_type (), DiaLayerWidget)
diff --git a/app/menus.c b/app/menus.c
index 20eef2af..42259367 100644
--- a/app/menus.c
+++ b/app/menus.c
@@ -38,7 +38,6 @@
 #include "select.h"
 #include "dia_dirs.h"
 #include "object_ops.h"
-#include "dia-app-icons.h"
 #include "widgets.h"
 #include "preferences.h"
 #include "filter.h"
diff --git a/app/meson.build b/app/meson.build
index 16679cc7..799988ee 100644
--- a/app/meson.build
+++ b/app/meson.build
@@ -1,5 +1,3 @@
-subdir('pixmaps')
-
 dia_sources = [
     'confirm.c',
     'exit_dialog.c',
@@ -81,7 +79,7 @@ resources = gnome.compile_resources('dia-resources', 'dia.gresource.xml',
                                     c_name : 'dia')
 
 diaapp = executable('dia',
-    dia_sources + [diamarshal_h, config_h],
+    dia_sources + [resources, diamarshal_h, config_h],
     dependencies: [libgtk_dep, libxml_dep, libm_dep, libdia_dep],
     link_args: dia_link_args,
     export_dynamic: true,  # some plugins require this.
diff --git a/app/toolbox.c b/app/toolbox.c
index 8fdb424e..9b75bb5b 100644
--- a/app/toolbox.c
+++ b/app/toolbox.c
@@ -42,7 +42,6 @@
 #include "pixmaps/missing.xpm"
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
-#include "dia-app-icons.h"
 
 /* HB: file dnd stuff lent by The Gimp, not fully understood but working ...
  */
@@ -70,25 +69,25 @@ static GSList *tool_group = NULL;
 
 ToolButton tool_data[] =
 {
-  { (const gchar **) dia_modify_tool_icon,
+  { "dia-tool-modify",
     N_("Modify object(s)\nUse <Space> to toggle between this and other tools"),
     NULL,
     "ToolsModify",
     { MODIFY_TOOL, NULL, NULL}
   },
-  { (const gchar **) dia_textedit_tool_icon,
+  { "dia-tool-text",
     N_("Text edit(s)\nUse <Esc> to leave this tool"),
     "F2",
     "ToolsTextedit",
     { TEXTEDIT_TOOL, NULL, NULL}
   },
-  { (const gchar **) dia_zoom_tool_icon,
+  { "dia-tool-zoom",
     N_("Magnify"),
     "M",
     "ToolsMagnify",
     { MAGNIFY_TOOL, NULL, NULL}
   },
-  { (const gchar **) dia_scroll_tool_icon,
+  { "dia-tool-scroll",
     N_("Scroll around the diagram"),
     "S",
     "ToolsScroll",
@@ -202,7 +201,7 @@ tool_button_press (GtkWidget      *w,
 
   if ((event->type == GDK_2BUTTON_PRESS) &&
       (event->button == 1)) {
-    tool_options_dialog_show (tooldata->type, tooldata->extra_data, 
+    tool_options_dialog_show (tooldata->type, tooldata->extra_data,
                               tooldata->user_data, w, event->state&1);
     return TRUE;
   }
@@ -223,7 +222,7 @@ tool_drag_data_get (GtkWidget *widget, GdkDragContext *context,
                    guint32 time, ToolButtonData *tooldata)
 {
   if (info == 0) {
-    gtk_selection_data_set(selection_data, 
+    gtk_selection_data_set(selection_data,
                           gtk_selection_data_get_target(selection_data),
                           8, (guchar *)&tooldata, sizeof(ToolButtonData *));
   }
@@ -274,7 +273,7 @@ fill_sheet_wbox(Sheet *sheet)
       pixbuf = gdk_pixbuf_new_from_xpm_data (sheet_obj->pixmap);
     } else if (sheet_obj->pixmap_file != NULL) {
       GError* gerror = NULL;
-      
+
       pixbuf = gdk_pixbuf_new_from_file(sheet_obj->pixmap_file, &gerror);
       if (pixbuf != NULL) {
           int width = gdk_pixbuf_get_width (pixbuf);
@@ -282,8 +281,8 @@ fill_sheet_wbox(Sheet *sheet)
           if (width > 22 && prefs.fixed_icon_size) {
            GdkPixbuf *cropped;
            g_warning ("Shape icon '%s' size wrong, cropped.", sheet_obj->pixmap_file);
-           cropped = gdk_pixbuf_new_subpixbuf (pixbuf, 
-                                              (width - 22) / 2, height > 22 ? (height - 22) / 2 : 0, 
+           cropped = gdk_pixbuf_new_subpixbuf (pixbuf,
+                                              (width - 22) / 2, height > 22 ? (height - 22) / 2 : 0,
                                               22, height > 22 ? 22 : height);
            g_object_unref (pixbuf);
            pixbuf = cropped;
@@ -324,7 +323,7 @@ fill_sheet_wbox(Sheet *sheet)
     g_object_set_data_full(G_OBJECT(button), "Dia::ToolButtonData",
                           data, (GDestroyNotify)g_free);
     if (first_button == NULL) first_button = button;
-    
+
     g_signal_connect (G_OBJECT (button), "clicked",
                      G_CALLBACK (tool_select_update), data);
     g_signal_connect (G_OBJECT (button), "button_press_event",
@@ -387,7 +386,7 @@ create_sheet_dropdown_menu(GtkWidget *parent)
   }
 
   sheet_option_menu =
-    dia_dynamic_menu_new_stringlistbased(_("Other sheets"), sheet_names, 
+    dia_dynamic_menu_new_stringlistbased(_("Other sheets"), sheet_names,
                                         NULL, "sheets");
   g_signal_connect(DIA_DYNAMIC_MENU(sheet_option_menu), "value-changed",
                   G_CALLBACK(sheet_option_menu_changed), sheet_option_menu);
@@ -399,7 +398,7 @@ create_sheet_dropdown_menu(GtkWidget *parent)
                                     "UML");
   /*    gtk_widget_set_size_request(sheet_option_menu, 20, -1);*/
   gtk_wrap_box_pack_wrapped(GTK_WRAP_BOX(parent), sheet_option_menu,
-                           TRUE, TRUE, FALSE, FALSE, TRUE);    
+                           TRUE, TRUE, FALSE, FALSE, TRUE);
   /* 15 was a magic number that goes beyond the standard objects and the divider. */
   gtk_wrap_box_reorder_child(GTK_WRAP_BOX(parent),
                             sheet_option_menu, NUM_TOOLS+1);
@@ -423,7 +422,7 @@ create_sheets(GtkWidget *parent)
   GtkWidget *swin;
   gchar *sheetname;
   Sheet *sheet;
-  
+
   separator = gtk_hseparator_new ();
   /* add a bit of padding around the separator */
   label = gtk_vbox_new(FALSE, 0);
@@ -479,29 +478,29 @@ create_color_area (GtkWidget *parent)
   hbox = gtk_hbox_new (FALSE, 1);
   gtk_container_set_border_width (GTK_CONTAINER (hbox), 0);
   gtk_container_add (GTK_CONTAINER (frame), hbox);
-  
+
   /* Color area: */
   alignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
   gtk_container_set_border_width (GTK_CONTAINER (alignment), 3);
-  
+
   col_area = color_area_create (54, 42, parent, style);
   gtk_container_add (GTK_CONTAINER (alignment), col_area);
 
 
   gtk_box_pack_start (GTK_BOX (hbox), alignment, TRUE, TRUE, 0);
 
-  gtk_widget_set_tooltip_text (col_area, 
+  gtk_widget_set_tooltip_text (col_area,
                        _("Foreground & background colors for new objects.  "
                          "The small black and white squares reset colors.  "
                          "The small arrows swap colors.  Double-click to "
                          "change colors."));
 
   gtk_widget_show (alignment);
-  
+
   /* Linewidth area: */
   alignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
   gtk_container_set_border_width (GTK_CONTAINER (alignment), 3);
-  
+
   line_area = linewidth_area_create ();
   gtk_container_add (GTK_CONTAINER (alignment), line_area);
   gtk_box_pack_start (GTK_BOX (hbox), alignment, TRUE, TRUE, 0);
@@ -600,47 +599,24 @@ tool_get_pixbuf (ToolButton *tb)
   GdkPixbuf *pixbuf;
   const gchar **icon_data;
 
-  if (tb->icon_data==NULL) {
+  if (tb->icon_name == NULL) {
     DiaObjectType *type;
-    
-    type = object_get_type((char *)tb->callback_data.extra_data);
-    if (type == NULL)
-      icon_data = tool_data[0].icon_data;
-    else
+
+    type = object_get_type ((char *) tb->callback_data.extra_data);
+    if (type != NULL) {
       icon_data = type->pixmap;
+    }
+    if (strncmp ((char *) icon_data, "GdkP", 4) == 0) {
+      pixbuf = gdk_pixbuf_new_from_inline (-1, (guint8 *) icon_data, TRUE, NULL);
+    } else {
+      const char **pixmap_data = icon_data;
+      pixbuf = gdk_pixbuf_new_from_xpm_data (pixmap_data);
+    }
   } else {
-    icon_data = tb->icon_data;
-  }
-  
-  if (strncmp((char*)icon_data, "GdkP", 4) == 0) {
-    pixbuf = gdk_pixbuf_new_from_inline(-1, (guint8*)icon_data, TRUE, NULL);
-  } else {
-    const char **pixmap_data = icon_data;
-    pixbuf = gdk_pixbuf_new_from_xpm_data (pixmap_data);
+    pixbuf = pixbuf_from_resource (g_strdup_printf ("/org/gnome/Dia/icons/%s.png", tb->icon_name));
   }
-  return pixbuf;
-}
 
-/*
- * Don't look too deep into this function. It is doing bad things
- * with casts to conform to the historically interface. We know
- * the difference between char* and char** - most of the time ;)
- */
-static GtkWidget *
-create_widget_from_xpm_or_gdkp(const char **icon_data, GtkWidget *button, GdkPixbuf **pb_out) 
-{
-  GtkWidget *pixmapwidget;
-
-  if (strncmp((char*)icon_data, "GdkP", 4) == 0) {
-    GdkPixbuf *p;
-    *pb_out = p = gdk_pixbuf_new_from_inline(-1, (guint8*)icon_data, TRUE, NULL);
-    pixmapwidget = gtk_image_new_from_pixbuf(p);
-  } else {
-    const char **pixmap_data = icon_data;
-    *pb_out = gdk_pixbuf_new_from_xpm_data (pixmap_data);
-    pixmapwidget = gtk_image_new_from_pixbuf (*pb_out);
-  }
-  return pixmapwidget;
+  return pixbuf;
 }
 
 static void
@@ -650,7 +626,6 @@ create_tools(GtkWidget *parent)
   GdkPixbuf *pixbuf = NULL;
   GtkWidget *image;
   /* GtkStyle *style; */
-  const char **pixmap_data;
   int i;
 
   for (i = 0; i < NUM_TOOLS; i++) {
@@ -666,29 +641,18 @@ create_tools(GtkWidget *parent)
     if (tool_data[i].callback_data.type == MODIFY_TOOL) {
       modify_tool_button = GTK_WIDGET(button);
     }
-    
-    if (tool_data[i].icon_data==NULL) {
-      DiaObjectType *type;
-      type =
-       object_get_type((char *)tool_data[i].callback_data.extra_data);
-      if (type == NULL)
-       pixmap_data = tool_data[0].icon_data;
-      else
-       pixmap_data = type->pixmap;
-      image = create_widget_from_xpm_or_gdkp(pixmap_data, button, &pixbuf);
-    } else {
-      image = create_widget_from_xpm_or_gdkp(tool_data[i].icon_data, button, &pixbuf);
-    }
-    
+
+    image = gtk_image_new_from_pixbuf (tool_get_pixbuf (&tool_data[i]));
+
     /* GTKBUG:? padding changes */
     gtk_misc_set_padding(GTK_MISC(image), 2, 2);
-    
+
     gtk_container_add (GTK_CONTAINER (button), image);
-    
+
     g_signal_connect (G_OBJECT (button), "clicked",
                      G_CALLBACK (tool_select_update),
                        &tool_data[i].callback_data);
-    
+
     g_signal_connect (G_OBJECT (button), "button_press_event",
                      G_CALLBACK (tool_button_press),
                        &tool_data[i].callback_data);
@@ -718,7 +682,7 @@ create_tools(GtkWidget *parent)
        gtk_widget_set_tooltip_text (button,
                                gettext(tool_data[i].tool_desc));
     }
-    
+
     gtk_widget_show (image);
     gtk_widget_show (button);
   }
diff --git a/app/toolbox.h b/app/toolbox.h
index 089766b4..37dcc4fd 100644
--- a/app/toolbox.h
+++ b/app/toolbox.h
@@ -14,7 +14,7 @@ struct _ToolButtonData
 
 struct _ToolButton
 {
-  const gchar **icon_data;
+  const gchar *icon_name;
   char  *tool_desc;
   char *tool_accelerator;
   char  *action_name;
diff --git a/data/diagram.svg b/data/diagram.svg
new file mode 100644
index 00000000..501a8420
--- /dev/null
+++ b/data/diagram.svg
@@ -0,0 +1,450 @@
+<?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";
+   viewBox="0 0 74 74"
+   style="display:inline;enable-background:new"
+   version="1.0"
+   id="svg11300"
+   height="74"
+   width="74">
+  <defs
+     id="defs3">
+    <linearGradient
+       id="linearGradient6698">
+      <stop
+         id="stop6694"
+         offset="0"
+         style="stop-color:#deddda;stop-opacity:1;" />
+      <stop
+         id="stop6696"
+         offset="1"
+         style="stop-color:#bebcb6;stop-opacity:1" />
+    </linearGradient>
+    <filter
+       height="1.0214334"
+       y="-0.010716653"
+       width="1.0272651"
+       x="-0.013632531"
+       id="filter16020"
+       style="color-interpolation-filters:sRGB">
+      <feGaussianBlur
+         id="feGaussianBlur16022"
+         stdDeviation="2.0004419" />
+    </filter>
+    <linearGradient
+       y2="252.83385"
+       x2="277.7128"
+       y1="-9.2708836"
+       x1="277.7128"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient1924"
+       xlink:href="#linearGradient6698" />
+    <radialGradient
+       r="16.75"
+       fy="32.5"
+       fx="1.75"
+       cy="32.5"
+       cx="1.75"
+       gradientTransform="matrix(0.5970149,0,0,0.11940292,681.86684,-1544.8528)"
+       gradientUnits="userSpaceOnUse"
+       id="radialGradient3718"
+       xlink:href="#linearGradient3704" />
+    <linearGradient
+       id="linearGradient3704">
+      <stop
+         id="stop3706"
+         offset="0"
+         style="stop-color:#000000;stop-opacity:1;" />
+      <stop
+         id="stop3708"
+         offset="1"
+         style="stop-color:#000000;stop-opacity:0;" />
+    </linearGradient>
+    <linearGradient
+       y2="11.664844"
+       x2="22.856943"
+       y1="31.5"
+       x1="28.549463"
+       gradientTransform="matrix(0.7583496,0,0,0.8232527,662.30912,-1567.4675)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient4097"
+       xlink:href="#linearGradient4009" />
+    <linearGradient
+       id="linearGradient4009">
+      <stop
+         id="stop4011"
+         offset="0"
+         style="stop-color:#f57900;stop-opacity:1;" />
+      <stop
+         id="stop4013"
+         offset="1"
+         style="stop-color:#ffc286;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       y2="11.664844"
+       x2="22.856943"
+       y1="31.5"
+       x1="28.549463"
+       gradientTransform="matrix(0.7583496,0,0,0.8232527,662.30912,-1567.4675)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient4099"
+       xlink:href="#linearGradient4001" />
+    <linearGradient
+       id="linearGradient4001">
+      <stop
+         id="stop4003"
+         offset="0"
+         style="stop-color:#ce5c00;stop-opacity:1;" />
+      <stop
+         id="stop4005"
+         offset="1"
+         style="stop-color:#ed6a00;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       y2="26.5"
+       x2="38.5"
+       y1="26.5"
+       x1="21.5"
+       gradientTransform="matrix(0.8364915,0,0,0.9520619,657.29227,-1571.1517)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient4101"
+       xlink:href="#linearGradient3711" />
+    <linearGradient
+       id="linearGradient3711">
+      <stop
+         id="stop3713"
+         offset="0"
+         style="stop-color:#ffffff;stop-opacity:0.93814433;" />
+      <stop
+         id="stop3715"
+         offset="1"
+         style="stop-color:#ffffff;stop-opacity:0.62886596;" />
+    </linearGradient>
+    <radialGradient
+       r="16.75"
+       fy="32.5"
+       fx="1.75"
+       cy="32.5"
+       cx="1.75"
+       gradientTransform="matrix(0.5970149,0,0,0.2835821,668.95522,-1538.9664)"
+       gradientUnits="userSpaceOnUse"
+       id="radialGradient3714"
+       xlink:href="#linearGradient3704" />
+    <radialGradient
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.1940298,0,0,0.2089552,675.91045,-1540.291)"
+       r="16.75"
+       fy="32.5"
+       fx="1.75"
+       cy="32.5"
+       cx="1.75"
+       id="radialGradient3710"
+       xlink:href="#linearGradient3704" />
+    <linearGradient
+       gradientTransform="matrix(1.0263312,0,0,1.137931,659.55314,-1575.1724)"
+       gradientUnits="userSpaceOnUse"
+       y2="8"
+       x2="6.5"
+       y1="45.5"
+       x1="20.9375"
+       id="linearGradient3916"
+       xlink:href="#linearGradient3928" />
+    <linearGradient
+       id="linearGradient3928">
+      <stop
+         id="stop3930"
+         offset="0"
+         style="stop-color:#61635f;stop-opacity:1;" />
+      <stop
+         id="stop3932"
+         offset="1"
+         style="stop-color:#999b96;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       gradientTransform="matrix(1.0263312,0,0,1.137931,659.55314,-1575.1724)"
+       gradientUnits="userSpaceOnUse"
+       y2="8"
+       x2="6.5"
+       y1="45.5"
+       x1="20.9375"
+       id="linearGradient3924"
+       xlink:href="#linearGradient3936" />
+    <linearGradient
+       id="linearGradient3936">
+      <stop
+         id="stop3938"
+         offset="0"
+         style="stop-color:#1f2325;stop-opacity:1;" />
+      <stop
+         id="stop3940"
+         offset="1"
+         style="stop-color:#3a4244;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       gradientTransform="matrix(1.0263312,0,0,1.1439261,659.55314,-1575.3673)"
+       gradientUnits="userSpaceOnUse"
+       y2="24"
+       x2="46.0625"
+       y1="24"
+       x1="2"
+       id="linearGradient3956"
+       xlink:href="#linearGradient3711" />
+    <linearGradient
+       y2="17.715658"
+       x2="5.9831495"
+       y1="41.908779"
+       x1="13.069444"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient4106"
+       xlink:href="#linearGradient3928" />
+    <linearGradient
+       y2="17.715658"
+       x2="5.9831495"
+       y1="41.908779"
+       x1="13.069444"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient4108"
+       xlink:href="#linearGradient3936" />
+    <linearGradient
+       gradientTransform="matrix(2.2499993,0,0,2.2811505,-6.8749968,-3.4840278)"
+       gradientUnits="userSpaceOnUse"
+       y2="3.3344855"
+       x2="6.1932435"
+       y1="7.267767"
+       x1="7.500001"
+       id="linearGradient3703"
+       xlink:href="#linearGradient3697" />
+    <linearGradient
+       id="linearGradient3697">
+      <stop
+         id="stop3699"
+         offset="0"
+         style="stop-color:#73d216;stop-opacity:1;" />
+      <stop
+         id="stop3701"
+         offset="1"
+         style="stop-color:#adf06b;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       gradientTransform="matrix(2.2499993,0,0,2.2811505,-6.8749968,-3.4840278)"
+       gradientUnits="userSpaceOnUse"
+       y2="7.267767"
+       x2="7.500001"
+       y1="3.3344855"
+       x1="6.1932435"
+       id="linearGradient3695"
+       xlink:href="#linearGradient3689" />
+    <linearGradient
+       id="linearGradient3689">
+      <stop
+         id="stop3691"
+         offset="0"
+         style="stop-color:#4e9a06;stop-opacity:1;" />
+      <stop
+         id="stop3693"
+         offset="1"
+         style="stop-color:#2e5b03;stop-opacity:1;" />
+    </linearGradient>
+    <linearGradient
+       gradientTransform="matrix(0.7777777,0,0,0.8110756,-1.6666666,-1.2789127)"
+       gradientUnits="userSpaceOnUse"
+       y2="12.75"
+       x2="19.999998"
+       y1="12.75"
+       x1="10.000001"
+       id="linearGradient3717"
+       xlink:href="#linearGradient3711" />
+    <linearGradient
+       y2="37"
+       x2="13.5"
+       y1="12.625"
+       x1="5.5"
+       gradientTransform="matrix(1,0,0,1.0454545,-1.0367424e-6,-0.659091)"
+       gradientUnits="userSpaceOnUse"
+       id="linearGradient4110"
+       xlink:href="#linearGradient3711" />
+  </defs>
+  <metadata
+     id="metadata4">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Jakub Steiner</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:source>http://jimmac.musichall.cz</dc:source>
+        <cc:license
+           rdf:resource="" />
+        <dc:title></dc:title>
+        <dc:subject>
+          <rdf:Bag>
+            <rdf:li>mp3</rdf:li>
+            <rdf:li>audio</rdf:li>
+            <rdf:li>media</rdf:li>
+            <rdf:li>file</rdf:li>
+            <rdf:li>audio</rdf:li>
+            <rdf:li>sound</rdf:li>
+            <rdf:li>music</rdf:li>
+            <rdf:li>wave</rdf:li>
+          </rdf:Bag>
+        </dc:subject>
+        <dc:date />
+        <dc:rights>
+          <cc:Agent>
+            <dc:title />
+          </cc:Agent>
+        </dc:rights>
+        <dc:publisher>
+          <cc:Agent>
+            <dc:title />
+          </cc:Agent>
+        </dc:publisher>
+        <dc:identifier />
+        <dc:relation />
+        <dc:language />
+        <dc:coverage />
+        <dc:description>mimetypes</dc:description>
+        <dc:contributor>
+          <cc:Agent>
+            <dc:title />
+          </cc:Agent>
+        </dc:contributor>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     transform="translate(-616,1588)"
+     style="display:inline;opacity:1"
+     id="g15551">
+    <g
+       transform="matrix(0.125,0,0,0.125,543.375,-1329.125)"
+       id="g2575">
+      <g
+         id="use3924"
+         style="display:inline;stroke-width:0.25;enable-background:new"
+         transform="matrix(4,0,0,4,621.00001,-10999)">
+        <title
+           id="title1869">text-x-preview</title>
+        <g
+           id="g1920">
+          <g
+             transform="matrix(0.25,0,0,0.25,0,2295)"
+             id="g1881"
+             style="stroke-width:0.25">
+            <g
+               id="g1877"
+               style="stroke-width:0.25">
+              <path
+                 id="path1871"
+                 d="m 111.82842,-178.55025 h 200 L 432,-58.878679 432.005,237.36136 c 3.1e-4,17.728 
-14.44878,32.08839 -32.17678,32.08839 h -288 c -17.72799,0 -31.999992,-14.272 -31.999992,-32 v -384 c 
0,-17.728 14.272002,-32 31.999992,-32 z"
+                 clip-path="none"
+                 
style="display:inline;opacity:0.4;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter16020);enable-background:new"
 />
+              <path
+                 
style="display:inline;opacity:1;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
+                 clip-path="none"
+                 d="m 111.82842,-179.67158 h 200 L 432,-60 l 0.005,296.24003 c 3.1e-4,17.728 
-14.44878,32.08839 -32.17678,32.08839 h -288 c -17.727992,0 -31.999992,-14.272 -31.999992,-32 v -384 c 
0,-17.728 14.272,-32 31.999992,-32 z"
+                 id="path1873" />
+              <path
+                 
style="display:inline;opacity:1;vector-effect:none;fill:#deddda;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;enable-background:new"
+                 d="m 311.82842,-179.67158 v 88.000008 c 0,17.728 14.44211,31.693795 32.17011,31.693795 L 
432,-60 Z"
+                 id="path1875" />
+            </g>
+            <g
+               id="g1879"
+               transform="translate(-3,-2.5)"
+               style="stroke-width:0.25" />
+          </g>
+          <rect
+             
style="display:inline;opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:none;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
+             id="rect1883"
+             width="128"
+             height="128"
+             x="-1.5000001e-06"
+             y="2242" />
+          <g
+             style="stroke-width:2.6693635"
+             id="g1891"
+             transform="matrix(0.02341382,0,0,0.02341382,134.88091,2247.9567)" />
+          <g
+             style="stroke-width:2.62472105"
+             transform="matrix(0.02381205,0,0,0.02381205,134.64164,2248.0475)"
+             id="g1893" />
+        </g>
+      </g>
+    </g>
+    <g
+       transform="matrix(0.79622997,0,0,0.79622997,110.08068,-311.9003)"
+       id="g2072">
+      <ellipse
+         ry="1.9999989"
+         rx="10"
+         cy="-1540.9723"
+         cx="682.91162"
+         
style="opacity:0.32386361;fill:url(#radialGradient3718);fill-opacity:1;stroke:none;stroke-width:0.50137269;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         id="path3716" />
+      <path
+         
style="fill:url(#linearGradient4097);fill-opacity:1;stroke:url(#linearGradient4099);stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         d="m 683.27965,-1558.4722 -8.53777,16.9676 17.48223,0.032 z m -0.1679,6.4359 4.11623,7.8162 
-7.96246,-0.032 z"
+         id="path3977" />
+      <path
+         
style="opacity:0.54255317;fill:none;fill-opacity:1;stroke:url(#linearGradient4101);stroke-width:0.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         d="m 683.31953,-1556.0972 -6.90792,13.6539 14.08027,-0.087 z m -0.23279,1.8304 5.86866,10.9967 
-11.27432,-0.1004 z"
+         id="path4017" />
+      <ellipse
+         ry="4.75"
+         rx="10"
+         cy="-1529.75"
+         cx="670"
+         
style="opacity:0.17613639;fill:url(#radialGradient3714);fill-opacity:1;stroke:none;stroke-width:0.77266741;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         id="path3712" />
+      <ellipse
+         ry="3.4999995"
+         rx="20"
+         cy="-1533.5"
+         cx="678"
+         
style="opacity:0.3125;fill:url(#radialGradient3710);fill-opacity:1;stroke:none;stroke-width:0.93798256;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         id="path2733" />
+      <path
+         
style="fill:url(#linearGradient3916);fill-opacity:1;stroke:url(#linearGradient3924);stroke-width:0.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         d="m 661.09118,-1565.5 c 0,0 0,2 0,2 v 2 c 0,0 -0.004,0 23.13258,0 4.82021,0.013 9.14806,1.5269 
12.19318,3.8438 3.05853,2.3271 4.79578,5.3632 4.79578,8.6562 0,3.2931 -1.73725,6.3292 -4.79578,8.6563 
-3.05852,2.3271 -7.41011,3.8437 -12.25588,3.8437 -11.56851,0 -17.35671,0 -20.24883,0 -1.44607,0 -2.17743,0 
-2.53895,0 -0.18075,0 -0.26826,0 -0.31345,0 -0.0226,0 -0.0257,0 -0.0313,0 0,0 0,2 0,2 v 2 c 0,0 -0.004,0 
23.13257,0 5.67411,0 10.86042,-1.7343 14.70079,-4.6562 3.84037,-2.9219 6.36302,-7.1328 6.36302,-11.8438 
0,-4.7109 -2.52265,-8.9218 -6.36302,-11.8437 -3.82607,-2.9111 -8.98875,-4.6434 -14.63809,-4.6563 -11.56852,0 
-17.35672,0 -20.24884,0 -1.44607,0 -2.14608,0 -2.5076,0 -0.18076,0 -0.29961,0 -0.3448,0 -0.0226,0 -0.0257,0 
-0.0313,0 z"
+         id="path3812" />
+      <path
+         
style="opacity:0.375;fill:none;fill-opacity:1;stroke:url(#linearGradient3956);stroke-width:0.99999976;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         d="m 662.13355,-1564.5 -0.0522,1.9984 c 0,0 0.0959,0.052 23.23289,0.052 4.82021,0.013 
9.91503,2.4127 12.83465,4.959 3.15474,2.7545 4.19394,5.9649 4.02214,9.5244 -0.14386,2.9543 -2.91681,6.9847 
-4.85604,8.2693 -2.60372,1.7247 -7.27872,4.0671 -12.00707,4.0589 -8.33459,-0.015 -17.34893,0.1348 
-20.24106,0.1348 -1.44607,0 -2.08121,0 -2.44272,0 -0.18076,0 -0.48476,0 -0.52995,0 -0.0226,0 -0.0257,0 
-0.0313,0 l -0.008,1.9995 c 0,0 0.25245,0.077 23.38916,-0.043 4.26801,-0.022 8.89846,-1.4575 12.73883,-4.3948 
3.84038,-2.9373 6.01573,-6.6699 6.07988,-10.1187 0.0881,-4.7348 -1.8432,-8.5105 -5.11219,-11.285 
-3.30829,-2.8078 -8.25107,-5.1148 -13.90041,-5.1277 -11.56852,0 -17.29257,-0.031 -20.1847,-0.031 -1.44606,0 
-2.14608,0 -2.5076,0 -0.18075,0 -0.2996,0 -0.34479,0 -0.0226,0 -0.0738,0 -0.0794,0 z"
+         id="path3944" />
+      <g
+         id="g3896"
+         transform="matrix(1,0,0,1.0959383,660,-1574.4317)">
+        <path
+           id="rect3719"
+           d="M 7.4999995,13.500004 H 12.5 v 23.999994 h 1.534233 l -3.971733,5.0625 -4.0940198,-5.069757 
1.5315193,0.0073 z"
+           
style="fill:url(#linearGradient4106);fill-opacity:1;stroke:url(#linearGradient4108);stroke-width:0.95522773;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
 />
+        <rect
+           y="4.4999995"
+           x="5.5000019"
+           height="9.1246014"
+           width="8.9999981"
+           id="rect2694"
+           
style="opacity:1;fill:url(#linearGradient3703);fill-opacity:1;stroke:url(#linearGradient3695);stroke-width:0.95522803;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
 />
+        <path
+           id="rect3705"
+           d="M 6.5000005,5.4124604 H 13.499999 V 12.712142 H 6.5000005 Z"
+           
style="opacity:0.53409095;fill:none;fill-opacity:1;stroke:url(#linearGradient3717);stroke-width:0.95522803;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
 />
+        <path
+           id="rect3721"
+           d="m 8.5,14.499999 h 3 v 23.999998 h 0.484375 L 10.0625,40.953122 8.046875,38.499997 H 8.5 Z"
+           
style="opacity:0.375;fill:none;fill-opacity:1;stroke:url(#linearGradient4110);stroke-width:0.95522761;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
 />
+      </g>
+    </g>
+  </g>
+</svg>


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