SDL2-for-Pascal icon indicating copy to clipboard operation
SDL2-for-Pascal copied to clipboard

SDL Rotation

Open pst-82 opened this issue 1 year ago • 2 comments

Hello s SDl there are functions sdl_flip_horizontal and vertical, it would be useful to have functions to rotate for example 90 degrees right and left.

pst-82 avatar Dec 28 '24 16:12 pst-82

There are no such functions in the SDL2 API. You may be confusing those with SDL_FLIP_HORIZONTAL and SDL_FLIP_VERTICAL rendering flags.

suve avatar Dec 28 '24 17:12 suve

What I mean is whether it is possible to add rendering flags for 90-degree rotation left and right.

pst-82 avatar Dec 28 '24 17:12 pst-82