81
81
{ **
82
82
* Flip constants for SDL_RenderCopyEx
83
83
*}
84
- PPSDL_Flip = ^PSDL_Flip ;
85
- PSDL_Flip = ^TSDL_Flip ;
86
- TSDL_Flip = type cint;
84
+ PPSDL_RenderFlip = ^PSDL_RenderFlip ;
85
+ PSDL_RenderFlip = ^TSDL_RenderFlip ;
86
+ TSDL_RenderFlip = type cint;
87
87
88
88
const
89
- SDL_FLIP_NONE = TSDL_Flip ($0 ); { **< Do not flip *}
90
- SDL_FLIP_HORIZONTAL = TSDL_Flip ($1 ); { **< flip horizontally *}
91
- SDL_FLIP_VERTICAL = TSDL_Flip ($2 ); { **< flip vertically *}
89
+ SDL_FLIP_NONE = TSDL_RenderFlip ($0 ); { **< Do not flip *}
90
+ SDL_FLIP_HORIZONTAL = TSDL_RenderFlip ($1 ); { **< flip horizontally *}
91
+ SDL_FLIP_VERTICAL = TSDL_RenderFlip ($2 ); { **< flip vertically *}
92
92
93
93
type
94
94
{ **
@@ -894,7 +894,7 @@ function SDL_RenderCopyF(renderer: PSDL_Renderer; texture: PSDL_Texture; srcrect
894
894
*
895
895
* 0 on success, or -1 on error
896
896
*}
897
- function SDL_RenderCopyEx (renderer: PSDL_Renderer; texture: PSDL_Texture; const srcrect: PSDL_Rect; dstrect: PSDL_Rect; angle: cdouble; center: PSDL_Point; flip: TSDL_Flip ): cint32 cdecl; external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderCopyEx' { $ENDIF} { $ENDIF} ;
897
+ function SDL_RenderCopyEx (renderer: PSDL_Renderer; texture: PSDL_Texture; const srcrect: PSDL_Rect; dstrect: PSDL_Rect; angle: cdouble; center: PSDL_Point; flip: TSDL_RenderFlip ): cint32 cdecl; external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderCopyEx' { $ENDIF} { $ENDIF} ;
898
898
899
899
{ **
900
900
* Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center
@@ -909,7 +909,7 @@ function SDL_RenderCopyEx(renderer: PSDL_Renderer; texture: PSDL_Texture; const
909
909
*
910
910
* 0 on success, or -1 on error
911
911
*}
912
- function SDL_RenderCopyExF (renderer: PSDL_Renderer; texture: PSDL_Texture; const srcrect: PSDL_Rect; dstrect: PSDL_FRect; angle: cdouble; center: PSDL_FPoint; flip: TSDL_Flip ): cint32 cdecl;
912
+ function SDL_RenderCopyExF (renderer: PSDL_Renderer; texture: PSDL_Texture; const srcrect: PSDL_Rect; dstrect: PSDL_FRect; angle: cdouble; center: PSDL_FPoint; flip: TSDL_RenderFlip ): cint32 cdecl;
913
913
external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderCopyExF' { $ENDIF} { $ENDIF} ;
914
914
915
915
{ **
0 commit comments