Re: Cavas Performance



>  As I started before, I'm writing a GTK/GNOME based Role-Playing Games
>  based on an old text-based roguelike I made.  I want to use some
>  REALLY nice graphics (I have a great DOS based pseudo-3D engine I was
>  going to port: it's perfect for my needs).  The only method of embedding
>  graphics into an app that I can find is the canvas (I've heard of an
>  OpenGL widget, but I don't know OpenGL, and I've never been able to get
>  Mesa to build right for my nVidia card).

The canvas is not designed for this.  The canvas is an engine for
structured 2D graphics.

You should use the GdkRGB functions to render an RGB buffer to your
drawable.

	http://developer.gnome.org/doc/API/gdk/gdk-gdkrgb.html

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]