add wxImage::Clear (patch by troelsk); closes #10141
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -566,12 +566,20 @@ public:
|
||||
@param height
|
||||
The height of the image in pixels.
|
||||
@param clear
|
||||
If @true, initialize the image data with zeros.
|
||||
If @true, initialize the image data with zeroes.
|
||||
|
||||
@return @true if the call succeeded, @false otherwise.
|
||||
*/
|
||||
bool Create(int width, int height, bool clear = true);
|
||||
|
||||
/**
|
||||
Initialize the image data with zeroes (the default) or with the
|
||||
byte value given as @a value.
|
||||
|
||||
@since 2.9.0
|
||||
*/
|
||||
void Clear(unsigned char value = 0);
|
||||
|
||||
/**
|
||||
Destroys the image data.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user