Claw
1.7.3
|
This class read data from a pcx file and store it in an image. More...
#include <pcx.hpp>
Public Member Functions | |
reader (image &img) | |
Constructor. | |
reader (image &img, std::istream &f) | |
Constructor. | |
void | load (std::istream &f) |
Load an image from a pcx file. |
This class read data from a pcx file and store it in an image.
claw::graphic::pcx::reader::reader | ( | image & | img | ) |
Constructor.
img | The image in which the data will be stored. |
Definition at line 270 of file pcx_reader.cpp.
claw::graphic::pcx::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 283 of file pcx_reader.cpp.
References load().
void claw::graphic::pcx::reader::load | ( | std::istream & | f | ) |
Load an image from a pcx file.
f | Pcx file. |
Definition at line 294 of file pcx_reader.cpp.
References CLAW_PRECOND.
Referenced by reader().