Table of Contents

 
CaptureImage
 

Purpose

Captures the main surface and stores it as an image

 

Protoype

void CVideo::CaptureImage ()
 

Description

This function allows the taking of application screenshots. It saves the main surface as a .bmp file under the name of imageX.bmp, where X is the number of the screen capture. Each time the application is restarted the capture count resets to 0, which means new screenshots wil begin to overwrite old ones unless they are moved or renamed.

 

Use

CVideo video;
video.CaptureScreen();
 

Prev: Assign