class Magick::RVG::Pattern
def add_primitives(gc, style)
- Private: -
def add_primitives(gc, style) 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