Claw 1.7.3
claw::graphic::targa::reader Class Reference

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.
 

Detailed Description

This class read data from a targa file and store it in an image.

Author
Julien Jorge

Definition at line 216 of file targa.hpp.

Constructor & Destructor Documentation

◆ reader() [1/2]

claw::graphic::targa::reader::reader ( image & img)

Constructor.

Parameters
imgThe image in which the data will be stored.

Definition at line 193 of file targa_reader.cpp.

◆ reader() [2/2]

claw::graphic::targa::reader::reader ( image & img,
std::istream & f )

Constructor.

Parameters
imgThe image in which the data will be stored.
fThe file from which we read the data.
Postcondition
img contains the data from f.

Definition at line 206 of file targa_reader.cpp.

References load().

Member Function Documentation

◆ load()


The documentation for this class was generated from the following files: