#include <mptr_openexr.h>
Public Member Functions | |
exr_mptr (const char *filename) | |
~exr_mptr () | |
virtual bool | get_frame (synfig::Surface &surface, synfig::Time time, synfig::ProgressCallback *callback) |
Gets a frame and puts it into surface. |
exr_mptr::exr_mptr | ( | const char * | filename | ) |
exr_mptr::~exr_mptr | ( | ) |
bool exr_mptr::get_frame | ( | synfig::Surface & | surface, | |
synfig::Time | time, | |||
synfig::ProgressCallback * | callback | |||
) | [virtual] |
Gets a frame and puts it into surface.
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. |
true
on success, false
on error Implements synfig::Importer.
References synfig::error(), synfig::ProgressCallback::error(), synfig::Color::set_a(), synfig::Color::set_b(), synfig::Color::set_g(), and synfig::Color::set_r().