Header of a targa file.
More...
#include <targa.hpp>
|
| | header () |
| | Default constructor.
|
| |
| | header (unsigned int w, unsigned int h) |
| | Constructor.
|
| |
Header of a targa file.
Definition at line 76 of file targa.hpp.
◆ header() [1/2]
| claw::graphic::targa::file_structure::header::header |
( |
| ) |
|
◆ header() [2/2]
| claw::graphic::targa::file_structure::header::header |
( |
unsigned int | w, |
|
|
unsigned int | h ) |
Constructor.
- Parameters
-
| w | The width of the image. |
| h | The height of the image. |
Definition at line 46 of file targa_file_structure.cpp.
◆ color_map
| char claw::graphic::targa::file_structure::header::color_map |
1 if there is a color map, 0 otherwise.
Definition at line 86 of file targa.hpp.
◆ entry_size
| unsigned char claw::graphic::targa::file_structure::header::entry_size |
Number of bits per enrty.
Definition at line 98 of file targa.hpp.
◆ first_entry_index
| unsigned short claw::graphic::targa::file_structure::header::first_entry_index |
Index of the first color map entry.
Definition at line 94 of file targa.hpp.
◆ id_length
| char claw::graphic::targa::file_structure::header::id_length |
Image identifier length.
Definition at line 84 of file targa.hpp.
◆ image_specification
| specification claw::graphic::targa::file_structure::header::image_specification |
The specification of the image.
Definition at line 123 of file targa.hpp.
◆ image_type
| char claw::graphic::targa::file_structure::header::image_type |
◆ length
| unsigned short claw::graphic::targa::file_structure::header::length |
Total number of color map entries included.
Definition at line 96 of file targa.hpp.
The documentation for this class was generated from the following files: