summaryrefslogtreecommitdiffhomepage
path: root/projects/Notepad++
diff options
context:
space:
mode:
authorDane Madsen <[email protected]>2023-05-24 17:22:51 +1000
committerGitHub <[email protected]>2023-05-24 09:22:51 +0200
commite465ed0850106a3574d01363874ae49ef7e478c9 (patch)
tree937d11d54cac0c6b5282e6797f298aadf99524c1 /projects/Notepad++
parentbf69b3805601627a509b92600c9b70efcddfedeb (diff)
downloadraylib-e465ed0850106a3574d01363874ae49ef7e478c9.tar.gz
raylib-e465ed0850106a3574d01363874ae49ef7e478c9.zip
Added ImageRotate (#3078)
* Added ImageRotate * Quick rename of the example * Update ImageRotate by changing doubles to floats and checking code convention * Update API
Diffstat (limited to 'projects/Notepad++')
-rw-r--r--projects/Notepad++/raylib_npp_parser/raylib_npp.xml6
-rw-r--r--projects/Notepad++/raylib_npp_parser/raylib_to_parse.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/projects/Notepad++/raylib_npp_parser/raylib_npp.xml b/projects/Notepad++/raylib_npp_parser/raylib_npp.xml
index 7e173a93..883183ce 100644
--- a/projects/Notepad++/raylib_npp_parser/raylib_npp.xml
+++ b/projects/Notepad++/raylib_npp_parser/raylib_npp.xml
@@ -1570,6 +1570,12 @@
<Param name="Image *image" />
</Overload>
</KeyWord>
+ <KeyWord name="ImageRotate" func="yes">
+ <Overload retVal="void" descr="Rotate image by input angle in degrees (-359 to 359)">
+ <Param name="Image *image" />
+ <Param name="int degrees" />
+ </Overload>
+ </KeyWord>
<KeyWord name="ImageRotateCW" func="yes">
<Overload retVal="void" descr="Rotate image clockwise 90deg">
<Param name="Image *image" />
diff --git a/projects/Notepad++/raylib_npp_parser/raylib_to_parse.h b/projects/Notepad++/raylib_npp_parser/raylib_to_parse.h
index f20f065e..c32cdb26 100644
--- a/projects/Notepad++/raylib_npp_parser/raylib_to_parse.h
+++ b/projects/Notepad++/raylib_npp_parser/raylib_to_parse.h
@@ -346,6 +346,7 @@ RLAPI void ImageMipmaps(Image *image);
RLAPI void ImageDither(Image *image, int rBpp, int gBpp, int bBpp, int aBpp); // Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
RLAPI void ImageFlipVertical(Image *image); // Flip image vertically
RLAPI void ImageFlipHorizontal(Image *image); // Flip image horizontally
+RLAPI void ImageRotate(Image *image, int degrees); // Rotate image by input angle in degrees (-359 to 359)
RLAPI void ImageRotateCW(Image *image); // Rotate image clockwise 90deg
RLAPI void ImageRotateCCW(Image *image); // Rotate image counter-clockwise 90deg
RLAPI void ImageColorTint(Image *image, Color color); // Modify image color: tint