claw 1.9.0
Loading...
Searching...
No Matches
claw::graphic::targa::file_structure::header Class Reference

Header of a targa file. More...

#include <targa.hpp>

Collaboration diagram for claw::graphic::targa::file_structure::header:

Classes

struct  specification
 Image specification. More...
struct  [struct].color_map_specification
 Color map 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  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

◆ header() [1/2]

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

Default constructor.

Definition at line 38 of file targa_file_structure.cpp.

◆ header() [2/2]

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 46 of file targa_file_structure.cpp.

Member Data Documentation

◆ 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.

◆ 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

Image type.

Definition at line 88 of file targa.hpp.


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