class Magick::RVG::Pattern
def add_primitives(gc, style) #:nodoc:
def add_primitives(gc, style) #:nodoc: name = __id__.to_s gc.pattern(name, @x, @y, @width, @height) do add_viewbox_primitives(@width, @height, gc) @content.each { |element| element.add_primitives(gc) } end gc.__send__(style, name) end