SDL_DisplayYUVOverlay - Man Page

Blit the overlay to the display


#include "SDL.h"

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


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

Referenced By

SDL_CreateYUVOverlay(3), SDL_FreeYUVOverlay(3).

Tue 11 Sep 2001, 23:01 SDL API Reference