Tao.Sdl SDK Documentation

Sdl.SDL_UpdateRect Method 

Makes sure the given area is updated on the given screen.

[Visual Basic]
Public Shared Sub SDL_UpdateRect( _
   ByVal screen As IntPtr, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal w As Integer, _
   ByVal h As Integer _
)
[C#]
public static void SDL_UpdateRect(
   IntPtr screen,
   int x,
   int y,
   int w,
   int h
);

Parameters

screen
x
y
w
h

Remarks

The rectangle must be confined within the screen boundaries (no clipping is done).

If 'x', 'y', 'w' and 'h' are all 0, SDL_UpdateRect will update the entire screen.

These functions should not be called while 'screen' is locked.

Binds to C-function call in SDL_video.h:

extern DECLSPEC void SDLCALL SDL_UpdateRect (SDL_Surface *screen, Sint32 x, Sint32 y, Uint32 w, Uint32 h)

See Also

Sdl Class | Tao.Sdl Namespace