#include <mptr_png.h>
Public Member Functions |
| png_mptr (const synfig::FileSystem::Identifier &identifier) |
| ~png_mptr () |
virtual bool | get_frame (synfig::Surface &surface, const synfig::RendDesc &renddesc, synfig::Time time, synfig::ProgressCallback *callback) |
| Gets a frame and puts it into surface.
|
virtual bool | get_frame (synfig::Surface &surface, const synfig::RendDesc &renddesc, synfig::Time time, bool &trimmed, unsigned int &width, unsigned int &height, unsigned int &top, unsigned int &left, synfig::ProgressCallback *callback) |
Gamma & | gamma () |
const Gamma & | gamma () const |
virtual | ~Importer () |
virtual bool | get_frame (Surface &surface, const RendDesc &renddesc, Time time, bool &trimmed __attribute__((unused)), unsigned int &width __attribute__((unused)), unsigned int &height __attribute__((unused)), unsigned int &top __attribute__((unused)), unsigned int &left __attribute__((unused)), ProgressCallback *callback=NULL) |
virtual bool | is_animated () |
| Returns true if the importer pays attention to the time parameter of get_frame()
|
Constructor & Destructor Documentation
Member Function Documentation
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.
The documentation for this class was generated from the following files: