docs/man3/SDL_ConvertSurface.3
changeset 3352 6dc250ebdd80
parent 3351 8e0182c236d8
child 3353 6b14223dd5c7
     1.1 --- a/docs/man3/SDL_ConvertSurface.3	Wed Oct 07 06:11:53 2009 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,24 +0,0 @@
     1.4 -.TH "SDL_ConvertSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
     1.5 -.SH "NAME"
     1.6 -SDL_ConvertSurface \- Converts a surface to the same format as another surface\&.
     1.7 -.SH "SYNOPSIS"
     1.8 -.PP
     1.9 -\fB#include "SDL/SDL\&.h"
    1.10 -.sp
    1.11 -\fBSDL_Surface *\fBSDL_ConvertSurface\fP\fR(\fBSDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flags\fR);
    1.12 -.SH "DESCRIPTION"
    1.13 -.PP
    1.14 -Creates a new surface of the specified format, and then copies and maps the given surface to it\&. If this function fails, it returns \fBNULL\fP\&.
    1.15 -.PP
    1.16 -The \fBflags\fR parameter is passed to \fI\fBSDL_CreateRGBSurface\fP\fR and has those semantics\&.
    1.17 -.PP
    1.18 -This function is used internally by \fI\fBSDL_DisplayFormat\fP\fR\&.
    1.19 -.PP
    1.20 -This function can only be called after SDL_Init\&.
    1.21 -.SH "RETURN VALUE"
    1.22 -.PP
    1.23 -Returns either a pointer to the new surface, or \fBNULL\fP on error\&.
    1.24 -.SH "SEE ALSO"
    1.25 -.PP
    1.26 -\fI\fBSDL_CreateRGBSurface\fP\fR, \fI\fBSDL_DisplayFormat\fP\fR, \fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_Surface\fR\fR
    1.27 -...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01