thanks for your help Ravindra. I'll hack a bit libgdiplus to add rendering to top level window wo swf/gtk#. Needless to say it is an ugly hack :-) but very useful to debug big application with thousand of drawing methods . swf is broken, gdk is an ugly thing and I don't want to render to a file, so I have no choice. ar.