claw::graphic::targa::file_structure::header Class Reference

#include <targa.hpp>

List of all members.


Detailed Description

Header of a targa file.

Definition at line 76 of file targa.hpp.


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
struct
claw::graphic::targa::file_structure::header::specification 
image_specification

Classes

struct  specification
 Image specification. More...

Constructor & Destructor Documentation

claw::graphic::targa::file_structure::header::header (  ) 

Default constructor.

Definition at line 41 of file targa_file_structure.cpp.

00042 {
00043 
00044 } // targa::file_structure::header::header()

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


Member Data Documentation

1 if there is a color map, 0 otherwise.

Definition at line 86 of file targa.hpp.

Referenced by claw::graphic::targa::reader::decompress_rle_true_color(), header(), and claw::graphic::targa::reader::load_true_color_raw().

Index of the first color map entry.

Definition at line 94 of file targa.hpp.

Total number of color map entries included.

Definition at line 96 of file targa.hpp.

Referenced by claw::graphic::targa::reader::load_color_mapped(), and claw::graphic::targa::reader::load_rle_color_mapped().

Number of bits per enrty.

Definition at line 98 of file targa.hpp.

Referenced by claw::graphic::targa::reader::load_palette().


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

Generated on Thu May 22 21:07:39 2008 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.5.5