|
MP4
Stacks and Queues
|
Animation class—used to create animated images from a sequence of PNG objects as frames of the animation. More...
#include "animation.h"
Collaboration diagram for animation:Public Member Functions | |
| void | addFrame (const PNG &img) |
| Adds a frame to the animation. More... | |
| void | write (const std::string &filename) |
| Writes the animation to the file name specified. More... | |
Animation class—used to create animated images from a sequence of PNG objects as frames of the animation.
| void animation::addFrame | ( | const PNG & | img | ) |
Adds a frame to the animation.
| img | The image to be added. |
| void animation::write | ( | const std::string & | filename | ) |
Writes the animation to the file name specified.
| filename | The name of the file to be written to. |