Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2013-08-24 19:09:35
Size: 561
Editor: Sam Lantinga
Comment: The enumeration is SDL_RendererFlip, not SDL_RendererFlags.
Revision 3 as of 2013-11-12 15:49:01
Size: 649
Editor: Soryy708
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.


CategoryEnum, CategoryRender

None: SDL_RendererFlip (last edited 2014-11-04 22:18:05 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit