Removing hardcoded test data
parent
3f4e001e63
commit
7ccce99e65
|
|
@ -13,7 +13,7 @@ module Squib
|
||||||
svg = RSVG::Handle.new_from_file(file)
|
svg = RSVG::Handle.new_from_file(file)
|
||||||
tmp = Cairo::ImageSurface.new(svg.width, svg.height)
|
tmp = Cairo::ImageSurface.new(svg.width, svg.height)
|
||||||
tmp_cc = Cairo::Context.new(tmp)
|
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.set_source(tmp, x, y)
|
||||||
cairo_context.paint
|
cairo_context.paint
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue