#!ruby -Ks # -*- mode: ruby; encoding: sjis -*- # Last updated: <2014/11/30 21:24:47 +0900> require 'dxruby' img0 = Image.new(96, 96).drawFontEx(0, 0, "\u017d", Font.new(96, "Webdings"), :color => C_RED) img1 = Image.new(96, 96).drawFontEx(0, 0, "\u004d", Font.new(96, "Wingdings"), :color => C_CYAN) Window.loop do break if Input.keyPush?(K_ESCAPE) Window.draw(160, 120, img0) Window.draw(320, 160, img1) end