diff options
| author | Ray <[email protected]> | 2018-01-11 10:22:32 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-01-11 10:22:32 +0100 |
| commit | 278d8575bdd09ba6536291e1b66dc9d32224fb2d (patch) | |
| tree | 163f92e97d825ca086249212586df47f26c7757b /src/raylib.h | |
| parent | c37d2d448d373ee6aaf6b202fbfacc8283d7e682 (diff) | |
| download | raylib-278d8575bdd09ba6536291e1b66dc9d32224fb2d.tar.gz raylib-278d8575bdd09ba6536291e1b66dc9d32224fb2d.zip | |
Added new function: ImageAlphaCrop()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index b482ab3b..dc02370d 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -881,6 +881,7 @@ RLAPI void ImageToPOT(Image *image, Color fillColor); RLAPI void ImageFormat(Image *image, int newFormat); // Convert image data to desired format RLAPI void ImageAlphaMask(Image *image, Image alphaMask); // Apply alpha mask to image RLAPI void ImageAlphaClear(Image *image, Color color, float threshold); // Clear alpha channel to desired color +RLAPI void ImageAlphaCrop(Image *image, float threshold); // Crop image depending on alpha value RLAPI void ImageAlphaPremultiply(Image *image); // Premultiply alpha channel RLAPI void ImageCrop(Image *image, Rectangle crop); // Crop an image to a defined rectangle RLAPI void ImageResize(Image *image, int newWidth, int newHeight); // Resize and image (bilinear filtering) |
