Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/loaders/svg Modified Files: evas_image_load_svg.c Log Message: and actually use the load size =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/svg/evas_image_load_svg.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- evas_image_load_svg.c 18 Aug 2006 14:45:26 -0000 1.4 +++ evas_image_load_svg.c 18 Aug 2006 14:47:45 -0000 1.5 @@ -97,6 +97,8 @@ h2 = im->load_opts.h; w2 = (im->load_opts.h * w) / h; } + w = w2; + h = h2; } if (w < 1) w = 1; if (h < 1) h = 1; @@ -166,6 +168,8 @@ h2 = im->load_opts.h; w2 = (im->load_opts.h * w) / h; } + w = w2; + h = h2; } if (w < 1) w = 1; if (h < 1) h = 1; @@ -205,7 +209,9 @@ return 0; } - cairo_scale(cr, (double)im->image->w / dim.em, (double)im->image->h / dim.ex); + cairo_scale(cr, + (double)im->image->w / dim.em, + (double)im->image->h / dim.ex); rsvg_handle_render_cairo(rsvg, cr); cairo_surface_destroy(surface); /* need to check if this is required... */ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs