# File mrplot/magick.rb, line 18 def initialize(size) super(size) @image = Image.new(size.width, size.height) @gc = Draw.new @image_cache = Hash.new @pattern_cache = Hash.new # Define the context clipping path @gc.define_clip_path("all") { @gc.rectangle(0,0, size.width, size.height) } @gc.clip_path("all") end