Sha256: 115f983fa3299a33e2c473386238ed2d919bb7c57a76a2dd88906cec396870de

Contents?: true

Size: 414 Bytes

Versions: 6

Compression:

Stored size: 414 Bytes

Contents

require 'rubygems'
require 'gruff'
require File.join(File.dirname(__FILE__), 'new_image.rb')


g = Gruff::Scene.new("500x100", File.join(File.dirname(__FILE__),'..','..','gruff_tests/assets/city_scene') )
g.layers = %w(background haze sky clouds)
g.weather_group = %w(clouds)
g.time_group = %w(background sky)

g.weather = "stormy"
g.haze = false
g.time = Time.mktime(2006, 7, 4, 8, 00)
g.write "gruff_scene_2.jpg"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rmagick4j-0.4.0-java test/eyetests/tests/gruff_scene_2.rb
rmagick4j-0.3.9-java test/eyetests/tests/gruff_scene_2.rb
rmagick4j-0.3.8 test/eyetests/tests/gruff_scene_2.rb
rmagick4j-0.3.5 test/eyetests/tests/gruff_scene_2.rb
rmagick4j-0.3.7 test/eyetests/tests/gruff_scene_2.rb
rmagick4j-0.3.6 test/eyetests/tests/gruff_scene_2.rb