Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

surface2png.h File Reference

#include "surface.h"
#include "../ascstring.h"

Include dependency graph for surface2png.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void writePNG (const ASCString &filename, const Surface &s)
void writePNGtrim (const ASCString &filename, const Surface &s)
void writePNG (const ASCString &filename, const Surface &s, int x1, int y1, int x2, int y2)
void writePNG (const ASCString &filename, const Surface &s, const SDLmm::SRect &rect)


Function Documentation

void writePNG const ASCString filename,
const Surface s,
const SDLmm::SRect &  rect
 

Definition at line 55 of file surface2png.cpp.

References writePNG().

void writePNG const ASCString filename,
const Surface s,
int  x1,
int  y1,
int  x2,
int  y2
 

Definition at line 84 of file surface2png.cpp.

References errorMessage().

void writePNG const ASCString filename,
const Surface s
 

Definition at line 31 of file surface2png.cpp.

References writePNG().

void writePNGtrim const ASCString filename,
const Surface s
 

Definition at line 36 of file surface2png.cpp.

References max(), min(), Surface::transparent, and writePNG().


Generated on Tue Jun 24 02:11:06 2008 for Advanced Strategic Command by  doxygen 1.4.2