Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] Ruby Vector Graphics 0.2.0
Tim Hunter
1/3/2005 1:06:00 AM
The 2nd alpha release of Ruby Vector Graphics is available at RubyForge.
http://rubyforge.org/pr...
What is Ruby Vector Graphics?
Ruby Vector Graphics (RVG) is an add-on library for RMagick
(
http://rmagick.rub...
). RVG is a facade for RMagick's 2D drawing
class, Draw. The RVG methods are based on the Scalable Vector Graphics
specification. See the RVG home page at
http://rvg.rub...
for an
example.
3 Answers
Florian Gross
1/3/2005 1:37:00 AM
0
Tim Hunter wrote:
> The 2nd alpha release of Ruby Vector Graphics is available at RubyForge.
>
http://rubyforge.org/pr...
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.
Tim Hunter
1/3/2005 12:34:00 PM
0
Florian Gross wrote:
> Tim Hunter wrote:
>
>> The 2nd alpha release of Ruby Vector Graphics is available at RubyForge.
>>
http://rubyforge.org/pr...
>
> 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.
Bil Kleb
1/4/2005 10:39:00 PM
0
Tim Hunter wrote:
> You just use a simple setup.rb command to install it.
No gem?! ;)
--
Bil Kleb, Hampton, Virginia
http://fun3d.lar...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] Ruby Vector Graphics 0.2.0
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password