| 1 | .TH "SDL_SaveBMP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" |
| 2 | .SH "NAME" |
| 3 | SDL_SaveBMP \- Save an SDL_Surface as a Windows BMP file\&. |
| 4 | .SH "SYNOPSIS" |
| 5 | .PP |
| 6 | \fB#include "SDL\&.h" |
| 7 | .sp |
| 8 | \fBint \fBSDL_SaveBMP\fP\fR(\fBSDL_Surface *surface, const char *file\fR); |
| 9 | .SH "DESCRIPTION" |
| 10 | .PP |
| 11 | Saves the \fBSDL_Surface\fR \fBsurface\fR as a Windows BMP file named \fBfile\fR\&. |
| 12 | .SH "RETURN VALUE" |
| 13 | .PP |
| 14 | Returns \fB0\fR if successful or \fB-1\fR if there was an error\&. |
| 15 | .SH "SEE ALSO" |
| 16 | .PP |
| 17 | \fI\fBSDL_LoadBMP\fP\fR |
| 18 | .\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01 |