imagemagick_mptr Class Reference

#include <mptr_imagemagick.h>

Inheritance diagram for imagemagick_mptr:

synfig::Importer

List of all members.

Public Member Functions

 imagemagick_mptr (const char *filename)
 ~imagemagick_mptr ()
virtual bool get_frame (synfig::Surface &surface, synfig::Time time, synfig::ProgressCallback *callback)
 Gets a frame and puts it into surface.


Constructor & Destructor Documentation

imagemagick_mptr::imagemagick_mptr ( const char *  filename  ) 

imagemagick_mptr::~imagemagick_mptr (  ) 


Member Function Documentation

bool imagemagick_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.

References _, synfig::Gamma::b_U8_to_F32(), synfig::error(), synfig::ProgressCallback::error(), synfig::Gamma::g_U8_to_F32(), synfig::Importer::gamma(), synfig::Color::get_a(), synfig::Color::get_b(), synfig::Color::get_g(), synfig::Color::get_r(), and synfig::Gamma::r_U8_to_F32().


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