Sha256: d320e476a80ea6ca99a6ae7bc11af99f82dc624fb2241cb5316bb867a0523475

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

require_relative "graphic/context"

module Vamp
  module Graphic
  end
end

if __FILE__ == $0
  g = Vamp::Graphic::Context.new(Vamp::Graphic::TextDotter.new(80, 20))
  g.dot(10, 10)
  g.line 1, 2, 70, 9

  g.draw 40, 10, 100, 1
  puts g.screen
  puts "now we get an error:"
  g.line 1, 1, 100, 100
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vamp-0.1.6 lib/vamp/graphic.rb
vamp-0.1.5 lib/vamp/graphic.rb
vamp-0.1.4 lib/vamp/graphic.rb