font = GD::Font.new('Large') im.string(font, 50, 50, "String", blue) im.string(GD::Font::LargeFont, 50, 100, "String", red)
font = GD::Font.new('Large') im.stringUp(font, 50, 100, "String", blue) im.stringUp(GD::Font::LargeFont, 100, 100, "String", red)
im.stringTTF(blue, "/usr/X11R6/lib/X11/fonts/TrueType/wadalab-gothic.ttf", 20, 10 * (Math::PI/180.0), 100, 75, "Hoge") im.stringTTF(blue, "/usr/X11R6/lib/X11/fonts/TrueType/wadalab-gothic.ttf", 20, 180 * (Math::PI/180.0), 100, 150, "ほげ")
im.char(GD::Font::LargeFont, 50, 50, "C", blue)
im.charUp(GD::Font::LargeFont, 50, 50, "C", blue)