SDL_DisplayYUVOverlay

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 display surface specified when the overlay was created. The SDL_Rect structure, dstrect, specifies a rectangle on the display where the overlay is drawn. The .x and .y fields of dstrect specify the upper left location in display coordinates. The overlay is scaled (independently in x and y dimensions) to the size specified by dstrect, and is optimized for 2x scaling.

Return Values

Returns 0 on success

See Also

SDL_Overlay, SDL_CreateYUVOverlay

SDL_DisplayYUVOverlay (last edited 2009-09-22 20:51:09 by proxy)