This class write an image in a xbm file. More...
#include <xbm.hpp>
Classes | |
struct | options |
Parameters of the writing algorithm. More... | |
Public Member Functions | |
writer (const image &img) | |
Constructor. | |
writer (const image &img, std::ostream &f, const options &opt=options()) | |
Constructor. | |
void | save (std::ostream &f, const options &opt=options()) const |
Save the image in a XBM file. | |
claw::graphic::xbm::writer::writer | ( | const image & | img | ) |
Constructor.
img | The image in which the data will be stored. |
Definition at line 57 of file xbm_writer.cpp.
claw::graphic::xbm::writer::writer | ( | const image & | img, |
std::ostream & | f, | ||
const options & | opt = options() ) |
Constructor.
img | The image to save. |
f | The file in which we write the data. |
opt | Saving options. |
Definition at line 67 of file xbm_writer.cpp.
Save the image in a XBM file.
f | XBM file. |
opt | Saving options. |
Definition at line 79 of file xbm_writer.cpp.