Tao.Sdl SDK Documentation

Sdl.SDL_SaveBMP_RW Method 

Save a surface to a seekable SDL data source (memory or file.)

[Visual Basic]
Public Shared Function SDL_SaveBMP_RW( _
   ByVal surface As IntPtr, _
   ByVal dst As IntPtr, _
   ByVal freedst As Integer _
) As Integer
[C#]
public static int SDL_SaveBMP_RW(
   IntPtr surface,
   IntPtr dst,
   int freedst
);

Parameters

surface
dst
freedst

Return Value

Returns 0 if successful or -1 if there was an error.

Remarks

If 'freedst' is non-zero, the source will be closed after being written.

Binds to C-function call in SDL_video.h:

            int SDLCALL SDL_SaveBMP_RW (SDL_Surface *surface, SDL_RWops *dst, int freedst)
            

See Also

Sdl Class | Tao.Sdl Namespace