From 7ccce99e65e4a3a94b6fb0994108afca65bfdd10 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Thu, 17 Jul 2014 10:58:01 -0400 Subject: [PATCH] Removing hardcoded test data --- lib/squib/graphics/image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/squib/graphics/image.rb b/lib/squib/graphics/image.rb index a00e52e..7efaf98 100644 --- a/lib/squib/graphics/image.rb +++ b/lib/squib/graphics/image.rb @@ -13,7 +13,7 @@ module Squib svg = RSVG::Handle.new_from_file(file) tmp = Cairo::ImageSurface.new(svg.width, svg.height) tmp_cc = Cairo::Context.new(tmp) - tmp_cc.render_rsvg_handle(svg, width: 400, height: 400) + tmp_cc.render_rsvg_handle(svg) cairo_context.set_source(tmp, x, y) cairo_context.paint end