Sha256: ce973683b8461b3918688a3f76efee7ad67f49dca17b89230b48d221d19a1541

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

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

include Magick

clown = Image.load("clown.jpg").first

draw = Draw.new
draw.push
draw.stroke 'green'
draw.fill 'yellow'
draw.circle clown.columns/2, clown.rows/2, clown.columns/4, clown.rows/2
draw.pop

draw.draw clown

clown.write "draw_pop_push.jpg"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rmagick4j-0.4.0-java test/eyetests/tests/draw_pop_push.rb
rmagick4j-0.3.9-java test/eyetests/tests/draw_pop_push.rb
rmagick4j-0.3.8 test/eyetests/tests/draw_pop_push.rb
rmagick4j-0.3.7 test/eyetests/tests/draw_pop_push.rb