Save
Saves the contents of the surface to an image file with a given filename. The extension of the filename specifies the image format. Supported image formats depend on how the library is set up. This function could be used to save screenshots, for example. Examples Canvas::SetTo( SCREEN_BACKBUF );
// Save a screenshot in the Screenshots folder as NewScreenshot.png // Canvas::Save( "MyScreenshot.png" ); Other functions of the class Canvas
Questions about Save? Click here. |