Claw  1.7.3
Classes | Public Member Functions | Public Attributes | List of all members
claw::graphic::targa::file_structure::header Class Reference

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.

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.

Detailed Description

Header of a targa file.

Definition at line 76 of file targa.hpp.

Constructor & Destructor Documentation

claw::graphic::targa::file_structure::header::header ( unsigned int  w,
unsigned int  h 
)

Constructor.

Parameters
wThe width of the image.
hThe height of the image.

Definition at line 53 of file targa_file_structure.cpp.


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