Le 18/07/2014 08:32, Jack a écrit : > Hello ! > > screen.copy (x, y, w, h) does not exist, then in a sdl project, how to > make a copy of part of the screen. >
In revision #6389, I added a Window.Screenshot() method that returns the contents of the SDL window as an Image object. I will add optional arguments so that we can get only a sub-part of the window. Please check it and tell me if it works for you. I tested it with the BeastScroll example only. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user