Doc cleanup. Because I am a lunatic.

This commit is contained in:
Ethan Lee 2013-08-28 06:31:06 -04:00
parent eaf552bad0
commit 9b86627382

View file

@ -1247,10 +1247,11 @@ namespace SDL2
ref SDL_Rect dstrect ref SDL_Rect dstrect
); );
/* 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 * Internally, this function contains logic to use default values when
and destination rectangles are passed as NULL */ * source and destination rectangles are passed as NULL.
/* this overload allows for IntPtr.Zero (null) to be passed for source rectangle */ * This overload allows for IntPtr.Zero (null) to be passed for srcrect.
*/
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int SDL_RenderCopy( public static extern int SDL_RenderCopy(
IntPtr renderer, IntPtr renderer,
@ -1259,10 +1260,11 @@ namespace SDL2
ref SDL_Rect dstrect ref SDL_Rect dstrect
); );
/* 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 * Internally, this function contains logic to use default values when
and destination rectangles are passed as NULL */ * source and destination rectangles are passed as NULL.
/* this overload allows for IntPtr.Zero (null) to be passed for destination rectangle */ * This overload allows for IntPtr.Zero (null) to be passed for dstrect.
*/
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int SDL_RenderCopy( public static extern int SDL_RenderCopy(
IntPtr renderer, IntPtr renderer,
@ -1271,10 +1273,11 @@ namespace SDL2
IntPtr dstrect IntPtr dstrect
); );
/* 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 * Internally, this function contains logic to use default values when
and destination rectangles are passed as NULL */ * source and destination rectangles are passed as NULL.
/* this overload allows for IntPtr.Zero (null) to be passed for both rectangles */ * this overload allows for IntPtr.Zero (null) to be passed for both SDL_Rects.
*/
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int SDL_RenderCopy( public static extern int SDL_RenderCopy(
IntPtr renderer, IntPtr renderer,