module Magick::RVG::StructureConstructors

def g(&block)

methods within the associated block.
Define grouped elements by calling RVG::Embellishable
the contained object itself.
contained within, unless overridden by an inner container or
transforms specified on this object will be used by objects
Group _container_ object. The styles and
This method constructs a new

Defines a group.
def g(&block)
    group = Group.new(&block)
    @content << group
    return group
end

def rvg(cols, rows, x=0, y=0, &block)

the contained object itself.
contained within, unless overridden by an inner container or
transforms specified on this object will be used by objects
_container_ method. Styles and
upper-left corner within the containing viewport. This is a
Establishes a new viewport. [x, y] is the coordinate of the
def rvg(cols, rows, x=0, y=0, &block)
    rvg = Magick::RVG.new(cols, rows, &block)
    begin
        x, y = Float(x), Float(y)
    rescue ArgumentError
        args = [cols, rows, x, y]
        raise ArgumentError, "at least one argument is not convertable to Float (got #{args.collect {|a| a.class}.join(', ')})"
    end
    rvg.corner(x, y)
    @content << rvg
    return rvg
end