Sha256: 4bd26799d104e0de5f24fac5e6aaf547cc0f376294420532d030b714deabf5b8

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 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

1 entries across 1 versions & 1 rubygems

Version Path
gosu_more_drawables-0.3.1 examples/circle_with_arc_border.rb