claw::graphic::pcx::header Class Reference

List of all members.

Detailed Description

Header of a pcx file.

Definition at line 74 of file pcx.hpp.

Public Attributes

u_int_8 manufacturer
 Manufacturer (should be == 10).
u_int_8 version
 Format version.
u_int_8 encoded
 Tell if the file is encoded (RLE).
u_int_8 bpp
 Number of bits per pixel.
struct {
   u_int_16   x_min
 Minimum X-coordinate of the image.
   u_int_16   y_min
 Minimum Y-coordinate of the image.
   u_int_16   x_max
 Maximum X-coordinate of the image.
   u_int_16   y_max
 Maximum Y-coordinate of the image.
window
u_int_16 horizontal_dpi
 Horizontal resolution of image in DPI.
u_int_16 vertical_dpi
 Vertical resolution of image in DPI.
rgb_pixel_8 color_map [16]
 Color map.
u_int_8 reserved
 Reserved. Should be set to zero.
u_int_8 color_planes
 Number of color planes.
u_int_16 bytes_per_line
 Number of bytes to allocate for a scanline plane. Must be an even number.
u_int_16 palette_info
 How to interpret the palette.
struct {
   u_int_16   horizontal
 Horizontal screen size.
   u_int_16   vertical
 Vertical screen size.
screen_size
 Screen size in pixels.
u_int_8 filler [54]
 Zero bytes to fill the 128 bytes header.


Member Data Documentation

u_int_8 claw::graphic::pcx::header::bpp

Number of bits per pixel.

Definition at line 87 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::bytes_per_line

Number of bytes to allocate for a scanline plane. Must be an even number.

Definition at line 122 of file pcx.hpp.

Referenced by claw::graphic::pcx::reader::decompress(), and claw::graphic::pcx::writer::write_header().

rgb_pixel_8 claw::graphic::pcx::header::color_map[16]

Color map.

Definition at line 112 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_8 claw::graphic::pcx::header::color_planes

Number of color planes.

Definition at line 118 of file pcx.hpp.

Referenced by claw::graphic::pcx::reader::decompress(), claw::graphic::pcx::reader::load_16_color_mapped(), claw::graphic::pcx::reader::load_256_color_mapped(), claw::graphic::pcx::reader::load_mono(), claw::graphic::pcx::reader::load_true_color(), and claw::graphic::pcx::writer::write_header().

u_int_8 claw::graphic::pcx::header::encoded

Tell if the file is encoded (RLE).

Definition at line 84 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_8 claw::graphic::pcx::header::filler[54]

Zero bytes to fill the 128 bytes header.

Definition at line 139 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::horizontal

Horizontal screen size.

Definition at line 131 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::horizontal_dpi

Horizontal resolution of image in DPI.

Definition at line 106 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_8 claw::graphic::pcx::header::manufacturer

Manufacturer (should be == 10).

Definition at line 78 of file pcx.hpp.

Referenced by claw::graphic::pcx::reader::check_if_pcx(), and claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::palette_info

How to interpret the palette.

Definition at line 125 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_8 claw::graphic::pcx::header::reserved

Reserved. Should be set to zero.

Definition at line 115 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

struct { ... } claw::graphic::pcx::header::screen_size

Screen size in pixels.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_8 claw::graphic::pcx::header::version

Format version.

Definition at line 81 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::vertical

Vertical screen size.

Definition at line 134 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::vertical_dpi

Vertical resolution of image in DPI.

Definition at line 109 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

struct { ... } claw::graphic::pcx::header::window

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::x_max

Maximum X-coordinate of the image.

Definition at line 98 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::x_min

Minimum X-coordinate of the image.

Definition at line 92 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::y_max

Maximum Y-coordinate of the image.

Definition at line 101 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().

u_int_16 claw::graphic::pcx::header::y_min

Minimum Y-coordinate of the image.

Definition at line 95 of file pcx.hpp.

Referenced by claw::graphic::pcx::writer::write_header().


The documentation for this class was generated from the following file:
Generated on Mon Nov 9 05:07:35 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.4.7