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 <silvershockwave / gmail.com>:
> 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/.
>
>