]> mj.ucw.cz Git - leo.git/blobdiff - leo.c
Logo can be drawn as a fixed object now, no need for special hacks in leo.c
[leo.git] / leo.c
diff --git a/leo.c b/leo.c
index b30996581f424d104a7775d91494fd0430810209..c884ae75777be65c9f7c1a8fdbecfd3ad9e8144c 100644 (file)
--- a/leo.c
+++ b/leo.c
@@ -1,7 +1,7 @@
 /*
  *     Hic Est Leo -- Main Program
  *
- *     (c) 2014 Martin Mares <mj@ucw.cz>
+ *     (c) 2014--2015 Martin Mares <mj@ucw.cz>
  */
 
 #include <ucw/lib.h>
@@ -160,27 +160,8 @@ int main(int argc UNUSED, char **argv)
        svg_set_attr_format(svg, "transform", "translate(%.6g,0) rotate(90)", page_height * svg->scale);
     }
 
-  // FIXME: Replace by generic logo drawing facility
-#if 0
-  struct svg_icon *logo = svg_icon_load(svg, "../logo/kocka-s-okrajem.svg");
-#endif
-
   sym_draw_all(svg);
 
-  // Draw logo
-#if 0
-  double logo_width = 36.12;
-  double logo_height = 36.12 / logo->width * logo->height;
-  struct svg_icon_request sir = {
-    .icon = logo,
-    .x = page_width - 12 - logo_width / 2,
-    .y = 10 + logo_height / 2,
-    .width = logo_width,
-    .height = logo_height,
-  };
-  svg_icon_put(svg, &sir);
-#endif
-
   draw_scale(svg);
 
   if (map_clip)