Added ImageRotate (#3078)

* Added ImageRotate

* Quick rename of the example

* Update ImageRotate by changing doubles to floats and checking code convention

* Update API
This commit is contained in:
Dane Madsen 2023-05-24 17:22:51 +10:00 committed by GitHub
parent bf69b38056
commit e465ed0850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 429 additions and 247 deletions

View file

@ -5266,6 +5266,15 @@ return {
{type = "Image *", name = "image"}
}
},
{
name = "ImageRotate",
description = "Rotate image by input angle in degrees (-359 to 359) ",
returnType = "void",
params = {
{type = "Image *", name = "image"},
{type = "int", name = "degrees"}
}
},
{
name = "ImageRotateCW",
description = "Rotate image clockwise 90deg",