class Magick::RVG::Use

RVG::UseConstructors#use method.
objects within a container. Create a Use object with the
A Use object allows the re-use of RVG and RVG::Group

def add_primitives(gc) #:nodoc:

:nodoc:
def add_primitives(gc)      #:nodoc:
    gc.push
    add_transform_primitives(gc)
    add_style_primitives(gc)
    @element.add_primitives(gc)
    gc.pop
end

def initialize(element, x=0, y=0, width=nil, height=nil)

a width and height for referenced RVG objects.
the group. The +width+ and +height+ arguments specify
can be used to specify an additional translation for
The +x+ and +y+ arguments
RVG::UseConstructors#use method.
In a container, Use objects are created indirectly via the
def initialize(element, x=0, y=0, width=nil, height=nil)
    super()
    # If the element is not a group, defs, symbol, or rvg,
    # wrap a group around it so it can get a transform and
    # possibly a new viewport.
    if !element.respond_to?(:ref)
        @element = Group.new
        @element << element.deep_copy
    else
        @element = element.deep_copy
    end
    @element.ref(x, y, width, height)
end