anyKode Marilou
ContentsIndexHome
PreviousUpNext
Image::Construct

Initialize current instance creating a valid image.

C++
bool Construct(int Width, int Height, Marilou::Commons::SurfaceFormats Format, bool bEraseBits);
Parameters 
Description 
int Width 
[in] Horizontal resolution 
int Height 
[in] Vertical resolution 
Marilou::Commons::SurfaceFormats Format 
[in] Pixels format 
bool bEraseBits 
[in] Indicates if surface must be filled with the 0x00 value 

true if the object is initialized and that the image is available, false if not.

Construct initialise current instance with an image according to the Width, Height and Format parameters.

Not working with JPG surface format.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!