]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/builddeps/dp.win64/share/man/man3/SDL_DisplayYUVOverlay.3
Handle errors right.
[xonotic/xonotic.git] / misc / builddeps / dp.win64 / share / man / man3 / SDL_DisplayYUVOverlay.3
1 .TH "SDL_DisplayYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
2 .SH "NAME"
3 SDL_DisplayYUVOverlay \- Blit the overlay to the display
4 .SH "SYNOPSIS"
5 .PP
6 \fB#include "SDL\&.h"
7 .sp
8 \fBint \fBSDL_DisplayYUVOverlay\fP\fR(\fBSDL_Overlay *overlay, SDL_Rect *dstrect\fR);
9 .SH "DESCRIPTION"
10 .PP
11 Blit the \fBoverlay\fR to the surface specified when it was \fIcreated\fR\&. The \fI\fBSDL_Rect\fR\fR structure, \fBdstrect\fR, specifies the position and size of the destination\&. If the \fBdstrect\fR is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling\&.
12 .SH "RETURN VALUES"
13 .PP
14 Returns 0 on success
15 .SH "SEE ALSO"
16 .PP
17 \fI\fBSDL_Overlay\fR\fR, \fI\fBSDL_CreateYUVOverlay\fP\fR
18 .\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01