Claw
1.7.3
|
A class for gif pictures. More...
#include <gif.hpp>
Classes | |
struct | application_extension |
Extension adding some informations about the application. | |
struct | comment_extension |
Extension commenting the file. | |
struct | extension |
Extension of the format. | |
class | frame |
One frame in the animation. More... | |
struct | graphic_control_extension |
Extension describing a rendering block. | |
struct | header |
Header of the gif files. | |
struct | image_descriptor |
struct | plain_text_extension |
Extension adding graphic text support. | |
class | reader |
This class reads data from a gif file. The image is resized to the size of the screen (as defined in the gif file) and the frames are stored in a list of frames passed as parameter. More... | |
struct | screen_descriptor |
Some informations on the screen where the image is rendered. | |
struct | trailer |
The end of the file. | |
Public Types | |
typedef wrapped_iterator < frame, frame_list::iterator, claw::dereference< frame > >::iterator_type | frame_iterator |
Iterator on the content of the gif. | |
typedef wrapped_iterator < const frame, frame_list::const_iterator, claw::const_dereference< frame > >::iterator_type | const_frame_iterator |
Iterator on the content of the gif. | |
Public Member Functions | |
gif () | |
Constructor. | |
gif (const gif &that) | |
Copy constructor. | |
gif (std::istream &f) | |
Constructor. Load an image from a gif file. | |
~gif () | |
Destructor. | |
gif & | operator= (const gif &that) |
Assignment. | |
void | swap (gif &that) |
Swap the content of two gifs. | |
frame_iterator | frame_begin () |
Get an iterator on the beginning of the frame sequence. | |
frame_iterator | frame_end () |
Get an iterator on the end of the frame sequence. | |
const_frame_iterator | frame_begin () const |
Get an iterator on the beginning of the frame sequence. | |
const_frame_iterator | frame_end () const |
Get an iterator on the beginning of the frame sequence. |
claw::graphic::gif::gif | ( | const gif & | that | ) |
claw::graphic::gif::gif | ( | std::istream & | f | ) |
claw::graphic::gif & claw::graphic::gif::operator= | ( | const gif & | that | ) |
void claw::graphic::gif::swap | ( | gif & | that | ) |