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

**URL:** <https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889>\
**Category:** Ruby\
**Created:** [June 8, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889 "2008-06-08T19:21:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![unebaguettesvp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Post date:** [June 8, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889/1 "2008-06-08T19:21:21Z")

</div>

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 R.

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)  
GPO Box 3411  
Sydney NSW 2001  
Australia  
E-mail: removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![unebaguettesvp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Post date:** [June 8, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889/2 "2008-06-08T20:27:59Z")

</div>

-------- Original-Nachricht --------

> Datum: Mon, 9 Jun 2008 02:19:30 +0900  
> Von: Philip R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> An: removed\_email\_address@domain.invalid  
> Betreff: Very simple SVG drawing tool (circles) written in Ruby?

> ## Phil.
> 
> Philip R.
> 
> Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)  
> GPO Box 3411  
> Sydney NSW 2001  
> Australia  
> E-mail: removed\_email\_address@domain.invalid

Philip,

you can find quite a lot of them in Rubyforge.

[http://rubyforge.org/search/?type\_of\_search=soft&words=svg&Search=Suche](http://rubyforge.org/search/?type_of_search=soft&words=svg&Search=Suche)

It is also possible to draw circles in RMagick  
([http://rmagick.rubyforge.org/portfolio3.html](http://rmagick.rubyforge.org/portfolio3.html)) in svg,  
but RMagick’s installation can be a bit daunting…

Best regards,

Axel

---

<div class="post-metadata">

**Author:** ![unebaguettesvp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Post date:** [June 8, 2008, 9:59pm UTC](https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889/3 "2008-06-08T21:59:20Z")

</div>

Axel,

Axel E. wrote:

> > the GUI toolkit is - as long as it is easy to use and runs on Linux.  
> > Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
> 
> It is also possible to draw circles in RMagick ([http://rmagick.rubyforge.org/portfolio3.html](http://rmagick.rubyforge.org/portfolio3.html)) 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 R.

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)  
GPO Box 3411  
Sydney NSW 2001  
Australia  
E-mail: removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![unebaguettesvp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Post date:** [June 9, 2008, 12:10am UTC](https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889/4 "2008-06-09T00:10:02Z")

</div>

Philip R. 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

---

<div class="post-metadata">

**Author:** ![unebaguettesvp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Post date:** [June 9, 2008, 2:50am UTC](https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889/5 "2008-06-09T02:50:30Z")

</div>

Charlie,

Charles Oliver N. wrote:

> 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 R.

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)  
GPO Box 3411  
Sydney NSW 2001  
Australia  
E-mail: removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![unebaguettesvp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Post date:** [June 8, 2008, 10:23pm UTC](https://www.ruby-forum.com/t/very-simple-svg-drawing-tool-circles-written-in-ruby/139889/6 "2008-06-08T22:23:30Z")

</div>

Philip R. 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!
