Method Reset
Reset(int, int, bool)
Creates a fresh image.
bool Reset(int width, int height, bool clear = false)
Parameters
width
intNew image width.
height
intNew image height
clear
boolIf true, initialize the image to black.
Returns
- bool
true
if the call succeeded,false
otherwise.
Reset()
Destroys the image data.
void Reset()