Add more Image pixel operation CFFI functions

This commit is contained in:
Joshua Granick
2015-04-13 17:35:30 -07:00
parent a16894571e
commit 338518a5f4
11 changed files with 484 additions and 24 deletions

View File

@@ -3,7 +3,9 @@
#include <hx/CFFI.h>
#include <utils/ByteArray.h>
#include <graphics/Image.h>
#include <math/ColorMatrix.h>
#include <math/Rectangle.h>
namespace lime {
@@ -14,8 +16,9 @@ namespace lime {
public:
static void MultiplyAlpha (ByteArray *bytes);
static void UnmultiplyAlpha (ByteArray *bytes);
static void ColorTransform (Image *image, Rectangle *rect, ColorMatrix *ColorMatrix);
static void MultiplyAlpha (Image *image);
static void UnmultiplyAlpha (Image *image);
};