|
xoreos
0.0.5
|
Image related utility functions. More...
#include <cassert>#include <cstring>#include "src/common/types.h"#include "src/common/scopedptr.h"#include "src/common/util.h"#include "src/common/maths.h"#include "src/common/error.h"#include "src/graphics/types.h"

Go to the source code of this file.
Namespaces | |
| Graphics | |
Functions | |
| static uint32 | Graphics::getDataSize (PixelFormatRaw format, int32 width, int32 height) |
| Return the number of bytes necessary to hold an image of these dimensions and in this format. More... | |
| static bool | Graphics::hasValidDimensions (PixelFormatRaw format, int32 width, int32 height) |
| Are these image dimensions valid for this format? More... | |
| static void | Graphics::flipHorizontally (byte *data, int width, int height, int bpp) |
| Flip an image horizontally. More... | |
| static void | Graphics::flipVertically (byte *data, int width, int height, int bpp) |
| Flip an image vertically. More... | |
| static void | Graphics::rotate90 (byte *data, int width, int height, int bpp, int steps) |
| Rotate a square image in 90° steps, clock-wise. More... | |
| static uint32 | Graphics::deSwizzleOffset (uint32 x, uint32 y, uint32 width, uint32 height) |
| De-"swizzle" a texture pixel offset. More... | |
Image related utility functions.
Definition in file util.h.
1.8.14