[ANN] Ruby Vector Graphics 0.2.0

T

Tim Hunter

Florian said:
Nice project. Can't wait to see this back-ported to RMagick, but I
wonder about what was changed in this version. Could you elaborate?

Thank you.

There were two incompatible changes. I changed the name of the
RVG#background_color method to #background_fill so it would match the SVG
1.2 standard. This meant I had to change the old #background_fill to
#background_pattern. I also changed the order of arguments in the #rect,
#circle, and #ellipse methods to allow some of the arguments have default
values.

The new features are
o embedded raster images,
o clipping paths, and
o RVG objects can be arguments to the #use method

You can certainly use RVG with RMagick today. RVG is 100% pure Ruby. You
just use a simple setup.rb command to install it. It should work well with
just about any release of RMagick, although you'll get better results if
you're using ImageMagick 6.0.0 or later.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top