From: Mohit Sindhwani Date: 2007-09-12T13:59:05+09:00 Subject: Re: Graphics... why so shrouded in mystery? Or if you are looking for a drag-and-drop visual environment for GUI design, you could look at WideStudio - it's a full environment for exactly that (and is not restricted to Ruby - works with C/C++/Java, etc.) The window there will give you a canvas that should let you draw whatever you want. Cheers, Mohit. 9/12/2007 | 12:58 PM. Gaspard Bucher wrote: > To display graphics... you first need a window ! > > If you want to display pixels, lines, use ruby-opengl, your code will > execute everywhere. > > If you need controls, you need some platform specific library or > something like Ruby/Tk. > > require 'tk' > root = TkRoot.new() { title "Hello, world!" } > Tk.mainloop() > > Gaspard > > 2007/9/11, Weston Campbell : > >> I've been working with ruby for quite a while now, and I still don't >> know how to manipulate graphics. I know about libraries like RMagick, >> but how do they do it? What are the rudimentary methods used to, say, >> display an image or pixel to the screen? Do I have to use C or Java just >> to accomplish this? Do I need to use some .dlls? >> >> Why can't I find any information on this subject. Isn't image >> manipulation essential now-a-days? >> >> Sorry for ranting, but I just get so frustrated when I can't find any >> leads on such a common and important subject. I'll take any help that >> can be provided. >> >> ~Ruby Panda >> -- >> Posted via http://www.ruby-forum.com/. >> >> >> > > > >