Le 10/03/2014 17:51, martin p cristia a écrit :
> Thanks for the fast answer, Tobi.
>
> The program is very complex, and the user can opt for a Draw or OpenGL
> method to draw things (each with its own control), so I thing a better
> way could be to copy the entire window and clip the drawn rectangle
> area, if that is possible.
>

Tobias' method is the best for normal drawings: it works for any toolkit 
and window manager.

As for the GLArea, I have no idea how and if it is possible! The GLArea 
is entirely managed by the underlying toolkit, so I don't know we can 
get the contents of the final OpenGL drawing. I guess it is an OpenGL 
thing, but only an expert will answer you.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to