8181 { **
8282 * Flip constants for SDL_RenderCopyEx
8383 *}
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;
8787
8888const
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 *}
9292
9393type
9494 { **
@@ -894,7 +894,7 @@ function SDL_RenderCopyF(renderer: PSDL_Renderer; texture: PSDL_Texture; srcrect
894894 *
895895 * 0 on success, or -1 on error
896896 *}
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} ;
898898
899899 { **
900900 * 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
909909 *
910910 * 0 on success, or -1 on error
911911 *}
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;
913913 external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderCopyExF' { $ENDIF} { $ENDIF} ;
914914
915915{ **
0 commit comments