RVG moves to beta with 0.4.0

T

Tim Hunter

RVG is a library for drawing 2D graphics with an API based on the SVG
specification. RVG is a pure-Ruby add-on to RMagick, the binding for
ImageMagick and GraphicsMagick. Version 0.4.0 is available, as usual, at
RubyForge: http://rubyforge.org/projects/rvg/

Version 0.4.0 includes extensive ehancements to text rendering. This release
adds support for "tspans," text segments that inherit styles and position
from the parent element, or can be independently styled, positioned, and
rotated. This release also supports vertical text (such as for column
labels), custom word- and letter-spacing, sub- and super-scripts, and
rotated glyphs.

RVG supports the following SVG concepts:

        o Structure: RVG, groups, and use
        o User-coordinate systems
        o Coordinate system transformations (translate, rotate, etc.)
        o Raster images
        o Basic shapes: line, rectangle, circle, ellipse, polygon, polyline
        o Styles: fill, stroke, opacity, font_size, etc.
        o Paths
        o Text
        o Patterns
        o Clipping paths
        o Units conversions (cm, in, etc.)

RVG would be a good library to use if you're writing an application that
needs to programmatically generate drawings, such as a charting
application. You can see an example RVG program at
http://rvg.rubyforge.org. The tarball includes copious RDoc documentation
and examples.

RVG supports all the parts of SVG that ImageMagick/GraphicsMagick supports.

I'm going to hold back on integrating RVG into RMagick just yet.
I want to rewrite the RDoc to match RMagick's documentation, and that'll be
a big job. So there's still plenty of time for changes based on your
feedback before RVG "goes production" so please don't hesitate to give it a
try and let me know what you think!
 

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,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top