Minor spacing fixes
This commit is contained in:
parent
c2d58d61d5
commit
1c03cdfb2c
73
src/SDL2.cs
73
src/SDL2.cs
@ -1906,7 +1906,11 @@ namespace SDL2
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source, destination, and/or center are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for srcrect.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
@ -1918,7 +1922,11 @@ namespace SDL2
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source, destination, and/or center are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for dstrect.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
@ -1930,7 +1938,11 @@ namespace SDL2
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source, destination, and/or center are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for center.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
@ -1942,7 +1954,12 @@ namespace SDL2
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source, destination, and/or center are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for both
|
||||
* srcrect and dstrect.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
@ -1954,7 +1971,29 @@ namespace SDL2
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source, destination, and/or center are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for both
|
||||
* srcrect and center.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
IntPtr texture,
|
||||
IntPtr srcrect,
|
||||
ref SDL_Rect dstrect,
|
||||
double angle,
|
||||
IntPtr center,
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source, destination, and/or center are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for both
|
||||
* dstrect and center.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
@ -1966,7 +2005,12 @@ namespace SDL2
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture*.
|
||||
* Internally, this function contains logic to use default values when
|
||||
* source, destination, and/or center are passed as NULL.
|
||||
* This overload allows for IntPtr.Zero (null) to be passed for all
|
||||
* three parameters.
|
||||
*/
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
@ -1978,18 +2022,6 @@ namespace SDL2
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer*, texture to an SDL_Texture* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderCopyEx(
|
||||
IntPtr renderer,
|
||||
IntPtr texture,
|
||||
IntPtr srcrect,
|
||||
ref SDL_Rect dstrect,
|
||||
double angle,
|
||||
IntPtr center,
|
||||
SDL_RendererFlip flip
|
||||
);
|
||||
|
||||
/* renderer refers to an SDL_Renderer* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_RenderDrawLine(
|
||||
@ -3548,8 +3580,9 @@ namespace SDL2
|
||||
{
|
||||
public SDL_EventType type;
|
||||
public UInt32 timestamp;
|
||||
public Int32 which; /* joystick id for ADDED, else
|
||||
instance id */
|
||||
public Int32 which; /* joystick id for ADDED,
|
||||
* else instance id
|
||||
*/
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user