PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Creating surface not from file

How to create empty Surface and fill it with everything that shows at the display?
This topic should resolve your question:
http://www.pocketmatrix.com/forums/viewtopic.php?t=19339
I use pretty the same way to take screenshots in my !PyroManiA! game :)
I think you're asking how to get a copy of the current screen?
use display->getSurface(), then you can ->clone() it.