|
Claw
1.7.3
|
Header of a targa file. More...
#include <targa.hpp>
Classes | |
| struct | specification |
| Image specification. More... | |
Public Member Functions | |
| header () | |
| Default constructor. | |
| header (unsigned int w, unsigned int h) | |
| Constructor. More... | |
Public Attributes | |
| char | id_length |
| Image identifier length. | |
| char | color_map |
| 1 if there is a color map, 0 otherwise. | |
| char | image_type |
| Image type. | |
| struct { | |
| unsigned short first_entry_index | |
| Index of the first color map entry. | |
| unsigned short length | |
| Total number of color map entries included. | |
| unsigned char entry_size | |
| Number of bits per enrty. | |
| } | color_map_specification |
| Color map specification. | |
| specification | image_specification |
| The specification of the image. | |
| claw::graphic::targa::file_structure::header::header | ( | unsigned int | w, |
| unsigned int | h | ||
| ) |
Constructor.
| w | The width of the image. |
| h | The height of the image. |
Definition at line 53 of file targa_file_structure.cpp.
1.8.5