Accept bytes + offset in image.setPixels (resolve #991)
This commit is contained in:
@@ -31,7 +31,7 @@ namespace lime {
|
||||
static void MultiplyAlpha (Image* image);
|
||||
static void Resize (Image* image, ImageBuffer* buffer, int width, int height);
|
||||
static void SetFormat (Image* image, PixelFormat format);
|
||||
static void SetPixels (Image* image, Rectangle* rect, Bytes* bytes, PixelFormat format);
|
||||
static void SetPixels (Image* image, Rectangle* rect, Bytes* bytes, int offset, PixelFormat format);
|
||||
static int Threshold (Image* image, Image* sourceImage, Rectangle* sourceRect, Vector2* destPoint, int operation, int32_t threshold, int32_t color, int32_t mask, bool copySource);
|
||||
static void UnmultiplyAlpha (Image* image);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user