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
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

@ -6757,6 +6757,21 @@
}
]
},
{
"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",