sample/shogikoma.rb in shogi_koma-0.0.1 vs sample/shogikoma.rb in shogi_koma-0.0.2
- old
+ new
@@ -2,9 +2,10 @@
# -*- coding: utf-8 -*-
require "shogi_koma"
painter = ShogiKoma::Painter.new
-painter.width = 100
-painter.height = 100
+painter.width = 200
+painter.height = 200
painter.font = "IPAMincho"
-painter.write_to_png("歩", "fu.png")
+painter.write_to_png("歩", "shogi_koma-fu1.png")
+painter.write_to_png("歩兵", "shogi_koma-fu2.png")