class Magick::RVG::Shape

Parent class of Circle, Ellipse, Text, etc. @private

Public Instance Methods

add_primitives(gc) click to toggle source

Each shape can have its own set of transforms and styles.

# File lib/rvg/embellishable.rb, line 15
def add_primitives(gc)
  gc.push
  add_transform_primitives(gc)
  add_style_primitives(gc)
  gc.__send__(@primitive, *@args)
  gc.pop
end