Sha256: 0fc6de165e8c30434129476f628593480d8910a50d042fc502a73a724daab892

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 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.0 examples/circle_with_arc_border.rb