|
Size: 561
Comment: The enumeration is SDL_RendererFlip, not SDL_RendererFlags.
|
Size: 649
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| ''You can add useful comments here'' | If you want to do a diagonal flip (both horizontal and vertical), use bitwise and (& operator). This currently doesn't work. |
SDL_RendererFlip
An enumeration of flags that can be used in the flip parameter for SDL_RenderCopyEx.
Values
SDL_FLIP_NONE |
do not flip |
SDL_FLIP_HORIZONTAL |
flip horizontally |
SDL_FLIP_VERTICAL |
flip vertically |
Code Examples
You can add your code example here
Remarks
If you want to do a diagonal flip (both horizontal and vertical), use bitwise and (& operator). This currently doesn't work.
