This class read data from a targa file and store it in an image. More...
#include <targa.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 targa file. | |
This class read data from a targa file and store it in an image.
| claw::graphic::targa::reader::reader | ( | image & | img | ) |
Constructor.
| img | The image in which the data will be stored. |
Definition at line 173 of file targa_reader.cpp.
| claw::graphic::targa::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 183 of file targa_reader.cpp.
| void claw::graphic::targa::reader::load | ( | std::istream & | f | ) |
Load an image from a targa file.
| f | Targa file. |
Definition at line 193 of file targa_reader.cpp.