anyKode Marilou
ContentsIndexHome
PreviousUpNext
Image::Construct

Initialize l'instance en créant une image valide.

C++
bool Construct(int Width, int Height, Marilou::Commons::SurfaceFormats Format, bool bEraseBits);
Parameters 
Description 
int Width 
[in] Résolution horizontale 
int Height 
[in] Résolution verticale 
Marilou::Commons::SurfaceFormats Format 
[in] Format de pixel 
bool bEraseBits 
[in] Indique si la surface doit être remplie avec la valeur '0x00' 

true si l'objet a pu être initialisé et contient une image valide, false sinon.

Construct initialise l'instance avec une image ayant les propriétés passées en paramètres.

Ne fonctionne pas avec le format de surface JPG.

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