[Gtk-sharp-list] How to draw a renderized image to a window
Fri, 27 Aug 2004 23:49:42 -0700
Here's a link to a little ray-tracer I wrote in gtk#:
I've also got a Mandelbrot/Julia Set explorer I wrote somewhere which I
can dig up if you're interested.
This was written against a somewhat older version of gtk#-- I forget the
exact build number, but it's before you had to specify -pkg:gtk-sharp to
compile, and when I was still using System.Drawing.Point to represent a
So the code may not compile and run out of the gate with a more recent
version of gtk#, but between it and the docs it should get you started.
-- Mark Lewis
On Fri, 2004-08-27 at 14:37, Frederico Valente wrote:
> I've made a program that generates fractals using SDL and c++. Now I've
> decided to learn C# and gtk# by making a similar program using them.
> The menu generation went just fine. But I would like to know what's the
> best way to display in a window a generated array of r,g and b (ie. an
> array of, say, 640*480 with values to red green and blue).
> I haven't quite found my way in the docs at gtk-sharp home page.
> Any help, links to info or a mention of programs who do something alike
> will be greatly apreciated.
> Frederico Valente
> Gtk-sharp-list maillist - Gtkemail@example.com