This class read data from a xbm file and store it in an image. More...
#include <xbm.hpp>
Public Member Functions | |
reader (image &img) | |
Constructor. | |
reader (image &img, std::istream &f) | |
Constructor. | |
reader (xbm &img, std::istream &f) | |
Constructor. | |
~reader () | |
Destructor. | |
void | load (std::istream &f) |
Load an image from a xbm file. | |
This class read data from a xbm file and store it in an image.
claw::graphic::xbm::reader::reader | ( | image & | img | ) |
Constructor.
img | The image in which the data will be stored. |
Definition at line 40 of file xbm_reader.cpp.
claw::graphic::xbm::reader::reader | ( | image & | img, |
std::istream & | f ) |
Constructor.
img | The image in which the data will be stored. |
f | The file from which we read the data. |
Definition at line 51 of file xbm_reader.cpp.
claw::graphic::xbm::reader::reader | ( | xbm & | img, |
std::istream & | f ) |
Constructor.
img | The image in which the data will be stored. |
f | The file from which we read the data. |
Definition at line 64 of file xbm_reader.cpp.
claw::graphic::xbm::reader::~reader | ( | ) |
Destructor.
Definition at line 78 of file xbm_reader.cpp.
void claw::graphic::xbm::reader::load | ( | std::istream & | f | ) |