module Magick::RVG::Stylable

def add_style_primitives(gc)

Use splat to splat out Array arguments such as stroke_dasharray.
For each style that has a value, add a style primitive to the gc.
def add_style_primitives(gc)
  @styles.each_value do |style, value|
    if value.respond_to? :add_primitives
      value.add_primitives(gc, style)
    else
      gc.__send__(style, *value)
    end
  end
end