#include <PNGWriter.h>
Public Member Functions | |
| PNGWriter (ODataSource *ods) | |
| ~PNGWriter () | |
| bool | init (uint32 width, uint32 height, const std::string &comment) |
| bool | writeRows (unsigned int nrows, Texture *img) |
| bool | finish () |
Private Attributes | |
| ODataSource * | ds |
| uint32 | width |
| void * | png |
| void * | info |
Definition at line 25 of file PNGWriter.h.
| PNGWriter::PNGWriter | ( | ODataSource * | ods | ) |
| PNGWriter::~PNGWriter | ( | ) |
Definition at line 48 of file PNGWriter.cpp.
| bool PNGWriter::finish | ( | ) |
Definition at line 53 of file PNGWriter.cpp.
References ds, info, odatasource_png_flush_data(), odatasource_png_write_data(), and png.
Referenced by GameMapGump::ConCmd_dumpMap().
| bool PNGWriter::writeRows | ( | unsigned int | nrows, | |
| Texture * | img | |||
| ) |
Referenced by GameMapGump::ConCmd_dumpMap().
ODataSource* PNGWriter::ds [private] |
void* PNGWriter::info [private] |
void* PNGWriter::png [private] |
uint32 PNGWriter::width [private] |
Definition at line 36 of file PNGWriter.h.
1.4.7