Adding Excel xlsx support and prefixed images

* New sample!
* New API function!
* Ignoring _img in samples
This commit is contained in:
Andy Meneely
2014-07-16 15:32:48 -04:00
parent f778b2f920
commit 0e351754f3
9 changed files with 46 additions and 47 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
module Squib
class Card
def save_png(i, dir: '_img')
cairo_context.target.write_to_png("#{dir}/img_#{i}.png")
def save_png(i, dir, prefix)
cairo_context.target.write_to_png("#{dir}/#{prefix}#{i}.png")
end
end