PNGWriter Class Reference

#include <PNGWriter.h>

List of all members.

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

ODataSourceds
uint32 width
void * png
void * info


Detailed Description

Definition at line 25 of file PNGWriter.h.


Constructor & Destructor Documentation

PNGWriter::PNGWriter ( ODataSource ods  ) 

Definition at line 42 of file PNGWriter.cpp.

References ds, and png.

PNGWriter::~PNGWriter (  ) 

Definition at line 48 of file PNGWriter.cpp.


Member Function Documentation

bool PNGWriter::finish (  ) 

Definition at line 143 of file PNGWriter.cpp.

References info, and png.

Referenced by GameMapGump::ConCmd_dumpMap().

bool PNGWriter::init ( uint32  width,
uint32  height,
const std::string &  comment 
)

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().


Member Data Documentation

ODataSource* PNGWriter::ds [private]

Definition at line 35 of file PNGWriter.h.

Referenced by init(), and PNGWriter().

void* PNGWriter::info [private]

Definition at line 38 of file PNGWriter.h.

Referenced by finish(), and init().

void* PNGWriter::png [private]

Definition at line 37 of file PNGWriter.h.

Referenced by finish(), init(), and PNGWriter().

uint32 PNGWriter::width [private]

Definition at line 36 of file PNGWriter.h.


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:47 2007 for pentagram by  doxygen 1.4.7