diff options
| author | nobytesgiven <[email protected]> | 2022-10-25 18:56:06 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-25 17:56:06 +0200 |
| commit | dbecb950242e51f5a55da916590b0d187515189c (patch) | |
| tree | 3342ab6ad6d6e2c26105eeeebb6e94956d107628 /src/raylib.h | |
| parent | 072e92615aad45777e667e7b29137095b815734a (diff) | |
| download | raylib-dbecb950242e51f5a55da916590b0d187515189c.tar.gz raylib-dbecb950242e51f5a55da916590b0d187515189c.zip | |
Added Box and Gaussian blurring (#2770)
* Added Box and Gaussian blurring
* Removed dependence of gaussian blur to box blur & Fixed precision errors
Co-authored-by: nobytesgiven <[email protected]>
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 4c353ac5..dc027591 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1258,6 +1258,7 @@ RLAPI void ImageAlphaCrop(Image *image, float threshold); RLAPI void ImageAlphaClear(Image *image, Color color, float threshold); // Clear alpha channel to desired color RLAPI void ImageAlphaMask(Image *image, Image alphaMask); // Apply alpha mask to image RLAPI void ImageAlphaPremultiply(Image *image); // Premultiply alpha channel +RLAPI void ImageBlurGaussian(Image *image, int blurSize); // Apply Gaussian blur using a box blur approximation RLAPI void ImageResize(Image *image, int newWidth, int newHeight); // Resize image (Bicubic scaling algorithm) RLAPI void ImageResizeNN(Image *image, int newWidth,int newHeight); // Resize image (Nearest-Neighbor scaling algorithm) RLAPI void ImageResizeCanvas(Image *image, int newWidth, int newHeight, int offsetX, int offsetY, Color fill); // Resize canvas and fill with color |
