Re: [gtk-list] Re: Drawing area question



On Sun, Jul 05, 1998 at 12:23:44AM +0200, Trond Eivind Glomsrød wrote:
> I've been thinking about making some small visualization programs
> myself, combining OpenGL and gtk+. For this to be useful (to me,
> anyway), some means of getting postscript output (or preferably,
> encapsulated postscript) as well.
> 
> Does Gtk+ support printing of drawing areas? Any hints?

This won't work as a general solution anyway, since the OpenGL-context
isn't "regular" framebuffer, like the rest of the screen.

It will work on Mesa, or any other software renderer, but not on a Sun
or SGI box for example. (This is why getting screenshots can be a _real_
pain sometimes.)

There is some code at
http://reality.sgi.com/opengl/tips/Feedback.html
that does what you want, however.

/August.
-- 
-----BEGIN MOF (My Own Forehead) SIGNATURE----
yt6g7bfr5de5gy6bh7unjim8kojm7ynh6btgvfrcdeuy7ji87jy6htbgvrf5ced5t6gy7uhnji8
67gyf8u7jyhi7y67h9mkHjjfufhg7unji8mkhyb6tgvrfcdeg6yb7hunj87yu8jikmoyh
-----END MOF SIGNATURE-----



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