Sha256: 60f8f381efa65860fad13dd9bf0c9d40cfea0b3fb495529bf1145d571f69c74d
Contents?: true
Size: 334 Bytes
Versions: 3
Compression:
Stored size: 334 Bytes
Contents
require "gosu" require "gosu_more_drawables" class DemoWindow < Gosu::Window def initialize super(500, 500, false) end def draw Gosu.draw_circle(250, 250, 200, 128, Gosu::Color.rgb(0, 200, 0)) Gosu.draw_arc(250, 250, 200, 1.0, 128, 4, Gosu::Color.rgba(127, 64, 0, 100)) end end DemoWindow.new.show
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gosu_more_drawables-0.2.3 | examples/circle_with_arc_border.rb |
gosu_more_drawables-0.2.2 | examples/circle_with_arc_border.rb |
gosu_more_drawables-0.2.1 | examples/circle_with_arc_border.rb |