[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Very simple SVG drawing tool (circles) written in Ruby?

Phil Rhoades

6/8/2008 5:20:00 PM

People,

I am looking for very simple SVG drawing tool - mainly to draw circles -
but it has to be something written in Ruby. I don't really mind what
the GUI toolkit is - as long as it is easy to use and runs on Linux.

Does something like this exist? If not, any suggestions about what to
use to write it myself?

Thanks,

Phil.
--
Philip Rhoades

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au

6 Answers

Phlip

6/8/2008 5:41:00 PM

0

> I am looking for very simple SVG drawing tool - mainly to draw circles -
> but it has to be something written in Ruby. I don't really mind what
> the GUI toolkit is - as long as it is easy to use and runs on Linux.
>
> Does something like this exist? If not, any suggestions about what to
> use to write it myself?

Why can't you draw circles in Inkscape and save them as SVG? Why must
the editor surface be Ruby?

Axel Etzold

6/8/2008 6:24:00 PM

0


-------- Original-Nachricht --------
> Datum: Mon, 9 Jun 2008 02:19:30 +0900
> Von: Philip Rhoades <phil@pricom.com.au>
> An: ruby-talk@ruby-lang.org
> Betreff: Very simple SVG drawing tool (circles) written in Ruby?

> People,
>
> I am looking for very simple SVG drawing tool - mainly to draw circles -
> but it has to be something written in Ruby. I don't really mind what
> the GUI toolkit is - as long as it is easy to use and runs on Linux.
>
> Does something like this exist? If not, any suggestions about what to
> use to write it myself?
>
> Thanks,
>
> Phil.
> --
> Philip Rhoades
>
> Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
> GPO Box 3411
> Sydney NSW 2001
> Australia
> E-mail: phil@pricom.com.au

Philip,

you can find quite a lot of them in Rubyforge.

http://rubyforge.org/search/?type_of_search=soft&words=svg&Se...

It is also possible to draw circles in RMagick (http://rmagick.rubyforge.org/portf...) in svg,
but RMagick's installation can be a bit daunting...

Best regards,

Axel



--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/...

Phil Rhoades

6/8/2008 7:58:00 PM

0

Axel,


Axel Etzold wrote:
> -------- Original-Nachricht --------
>> Datum: Mon, 9 Jun 2008 02:19:30 +0900
>> Von: Philip Rhoades <phil@pricom.com.au>
>> An: ruby-talk@ruby-lang.org
>> Betreff: Very simple SVG drawing tool (circles) written in Ruby?
>
>> People,
>>
>> I am looking for very simple SVG drawing tool - mainly to draw circles -
>> but it has to be something written in Ruby. I don't really mind what
>> the GUI toolkit is - as long as it is easy to use and runs on Linux.
>>
>> Does something like this exist? If not, any suggestions about what to
>> use to write it myself?
>>
>> Thanks,
>>
>> Phil.
>> --
>> Philip Rhoades
>>
>> Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
>> GPO Box 3411
>> Sydney NSW 2001
>> Australia
>> E-mail: phil@pricom.com.au
>
> Philip,
>
> you can find quite a lot of them in Rubyforge.
>
> http://rubyforge.org/search/?type_of_search=soft&words=svg&Se...
>
> It is also possible to draw circles in RMagick (http://rmagick.rubyforge.org/portf...) in svg,
> but RMagick's installation can be a bit daunting...


Thanks for that - I will have a look at them. Is is for the new version
of the C/C++ simulation program that we have previously talked about. I
have an idea about using the SVG circle information for both initial
parameter input and also display output for the program but the SVG
drawing program needs to be very simple and small.

Regards,

Phil.
--
Philip Rhoades

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au

Tim Hunter

6/8/2008 8:22:00 PM

0

Philip Rhoades wrote:
> Thanks for that - I will have a look at them. Is is for the new version
> of the C/C++ simulation program that we have previously talked about. I
> have an idea about using the SVG circle information for both initial
> parameter input and also display output for the program but the SVG
> drawing program needs to be very simple and small.

RMagick can do a lot of things but I don't think it's what you're
looking for. While you can read SVG images with it, mostly it's good for
outputting raster images.

Good luck with your project, though!

--
RMagick: http://rmagick.ruby...
RMagick 2: http://rmagick.ruby...rmagick2.html

Charles Oliver Nutter

6/8/2008 10:08:00 PM

0

Philip Rhoades wrote:
> People,
>
> I am looking for very simple SVG drawing tool - mainly to draw circles -
> but it has to be something written in Ruby. I don't really mind what
> the GUI toolkit is - as long as it is easy to use and runs on Linux.
>
> Does something like this exist? If not, any suggestions about what to
> use to write it myself?

You might consider Batik with JRuby. I know others are using it for some
crazy cool graphics stuff. It's not a full app (SVG library) but it
works really, really well.

- Charlie

Phil Rhoades

6/9/2008 12:47:00 AM

0

Charlie,


Charles Oliver Nutter wrote:
> Philip Rhoades wrote:
>> People,
>>
>> I am looking for very simple SVG drawing tool - mainly to draw circles
>> - but it has to be something written in Ruby. I don't really mind
>> what the GUI toolkit is - as long as it is easy to use and runs on Linux.
>>
>> Does something like this exist? If not, any suggestions about what to
>> use to write it myself?
>
> You might consider Batik with JRuby. I know others are using it for some
> crazy cool graphics stuff. It's not a full app (SVG library) but it
> works really, really well.


It is overkill for me - it looks like FXSvgCanvas is just what I want
but it is no longer being worked on and the download link is not working . .

Thanks anyway,

Regards,

Phil.
--
Philip Rhoades

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au