SDL_DisplayYUVOverlay

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index Return to Main Contents
 

NAME

SDL_DisplayYUVOverlay - Blit the overlay to the display  

SYNOPSIS

#include "SDL.h"

int SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect);  

DESCRIPTION

Blit the overlay to the surface specified when it was created. The 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.  

RETURN VALUES

Returns 0 on success  

SEE ALSO

SDL_Overlay, SDL_CreateYUVOverlay