tbx
0.7.5
|
Class to capture screen output to a sprite. More...
#include <sprite.h>
Public Member Functions | |
SpriteCapture (UserSprite *sprite, bool start_capture=false, bool to_mask=false) | |
Class to capture screen output to a sprite. | |
~SpriteCapture () | |
Sprite capture destructor. More... | |
bool | capture () |
Capture screen output to sprite or sprites mask. More... | |
bool | release () |
Release screen output from sprite. More... | |
bool | is_capturing () |
Check if this capture is capturing to the sprite. More... | |
Class to capture screen output to a sprite.
SpriteCapture::~SpriteCapture | ( | ) |
Sprite capture destructor.
Automatically releases the current capture.
bool SpriteCapture::capture | ( | ) |
Capture screen output to sprite or sprites mask.
returns true if capture successful or already captured.
|
inline |
Check if this capture is capturing to the sprite.
bool SpriteCapture::release | ( | ) |
Release screen output from sprite.
returns true if successful or capture already released or not started.