SUMO - Simulation of Urban MObility
|
#include <MFXImageHelper.h>
Static Public Member Functions | |
static void | checkSupported (FXString ext) throw (InvalidArgument) |
static FXImage * | loadImage (FXApp *a, const std::string &file) |
static FXbool | saveImage (const std::string &file, int width, int height, FXColor *data) |
static FXbool | scalePower2 (FXImage *image) |
Definition at line 38 of file MFXImageHelper.h.
void MFXImageHelper::checkSupported | ( | FXString | ext | ) | throw (InvalidArgument) [static] |
Definition at line 45 of file MFXImageHelper.cpp.
Referenced by loadImage(), and saveImage().
FXImage * MFXImageHelper::loadImage | ( | FXApp * | a, |
const std::string & | file | ||
) | [static] |
Definition at line 63 of file MFXImageHelper.cpp.
References checkSupported().
Referenced by GUISUMOAbstractView::drawDecals().
FXbool MFXImageHelper::saveImage | ( | const std::string & | file, |
int | width, | ||
int | height, | ||
FXColor * | data | ||
) | [static] |
Definition at line 141 of file MFXImageHelper.cpp.
References checkSupported().
Referenced by GUISUMOAbstractView::makeSnapshot().
FXbool MFXImageHelper::scalePower2 | ( | FXImage * | image | ) | [static] |
Definition at line 109 of file MFXImageHelper.cpp.
Referenced by GUISUMOAbstractView::drawDecals().