This class read data from a bitmap file and store it in an image. More...
#include <bitmap.hpp>
Public Member Functions | |
reader (image &img) | |
Constructor. | |
reader (image &img, std::istream &f) | |
Constructor. | |
void | load (std::istream &f) |
Load the image data from a stream. | |
This class read data from a bitmap file and store it in an image.
Definition at line 135 of file bitmap.hpp.
claw::graphic::bitmap::reader::reader | ( | image & | img | ) |
Constructor.
img | The image in which the data will be stored. |
Definition at line 276 of file bitmap_reader.cpp.
claw::graphic::bitmap::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 286 of file bitmap_reader.cpp.
void claw::graphic::bitmap::reader::load | ( | std::istream & | f | ) |
Load the image data from a stream.
f | The file from which we read the data. |
Definition at line 297 of file bitmap_reader.cpp.