Tao.Sdl SDK Documentation

Sdl.SDL_DisplayYUVOverlay Method 

Blit the overlay to the display.

[Visual Basic]
Public Shared Function SDL_DisplayYUVOverlay( _
   ByVal overlay As IntPtr, _
   ByRef dstrect As SDL_Rect _
) As Integer
[C#]
public static int SDL_DisplayYUVOverlay(
   IntPtr overlay,
   ref SDL_Rect dstrect
);

Parameters

overlay
IntPtr to SDL_Overlay
dstrect
SDL_Rect

Return Value

Returns 0 on success.

Remarks

Blit the overlay to the surface specified when it was created. The Sdl.SDL_Rect structure, dstrect, specifies the position and size of the destination. If the dstrect is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling.

Binds to C-function call in SDL_video.h:

SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect)
            

See Also

Sdl Class | Tao.Sdl Namespace | Sdl.SDL_Overlay | SDL_CreateYUVOverlay