Sha256: d0811b03cc34c0919bff692ffae9f3871b8460771cf6e4a170d7da5fe3ea38ac

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 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.2.0 lib/vamp/graphic.rb
vamp-0.1.8 lib/vamp/graphic.rb
vamp-0.1.7 lib/vamp/graphic.rb