png_mptr Class Reference

#include <mptr_png.h>

Inheritance diagram for png_mptr:

synfig::Importer

List of all members.

Public Member Functions

 png_mptr (const char *filename)
 ~png_mptr ()
virtual bool get_frame (synfig::Surface &surface, synfig::Time time, synfig::ProgressCallback *callback)
 Gets a frame and puts it into surface.
virtual bool get_frame (synfig::Surface &surface, synfig::Time time, bool &trimmed, unsigned int &width, unsigned int &height, unsigned int &top, unsigned int &left, synfig::ProgressCallback *callback)


Constructor & Destructor Documentation

png_mptr::png_mptr ( const char *  filename  ) 

Todo:
THROW SOMETHING

Todo:
THROW SOMETHING

Todo:
THROW SOMETHING

Todo:
THROW SOMETHING

Todo:
THROW SOMETHING

Todo:
THROW SOMETHING

References synfig::Gamma::b_U8_to_F32(), BORDER, synfig::error(), synfig::Gamma::g_U8_to_F32(), synfig::Importer::gamma(), synfig::info(), PNG_CHECK_BYTES, and synfig::Gamma::r_U8_to_F32().

png_mptr::~png_mptr (  ) 


Member Function Documentation

bool png_mptr::get_frame ( synfig::Surface surface,
synfig::Time  time,
synfig::ProgressCallback callback 
) [virtual]

Gets a frame and puts it into surface.

Parameters:
surface Reference to surface to put frame into
time For animated importers, determines which frame to get. For static importers, this parameter is unused.
callback Pointer to callback class for progress, errors, etc.
Returns:
true on success, false on error
See also:
ProgressCallback, Surface

Implements synfig::Importer.

bool png_mptr::get_frame ( synfig::Surface surface,
synfig::Time  time,
bool &  trimmed,
unsigned int &  width,
unsigned int &  height,
unsigned int &  top,
unsigned int &  left,
synfig::ProgressCallback callback 
) [virtual]


The documentation for this class was generated from the following files:

Generated on Fri Jul 31 00:01:57 2009 for synfig-core by  doxygen 1.5.6