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. |
Header of a pcx file.
Definition at line 74 of file pcx.hpp.
Number of bits per pixel.
Definition at line 87 of file pcx.hpp.
Referenced by claw::graphic::pcx::reader::load(), and claw::graphic::pcx::writer::write_header().
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().
Color map.
Definition at line 112 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
Number of color planes.
Definition at line 118 of file pcx.hpp.
Referenced by claw::graphic::pcx::reader::decompress(), claw::graphic::pcx::reader::load(), 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().
Tell if the file is encoded (RLE).
Definition at line 84 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
Zero bytes to fill the 128 bytes header.
Definition at line 139 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
Horizontal screen size.
Definition at line 131 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
Horizontal resolution of image in DPI.
Definition at line 106 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
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().
How to interpret the palette.
Definition at line 125 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
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().
Format version.
Definition at line 81 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
Vertical screen size.
Definition at line 134 of file pcx.hpp.
Referenced by claw::graphic::pcx::writer::write_header().
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::reader::load(), and claw::graphic::pcx::writer::write_header().
Maximum X-coordinate of the image.
Definition at line 98 of file pcx.hpp.
Referenced by claw::graphic::pcx::reader::load(), and claw::graphic::pcx::writer::write_header().
Minimum X-coordinate of the image.
Definition at line 92 of file pcx.hpp.
Referenced by claw::graphic::pcx::reader::load(), and claw::graphic::pcx::writer::write_header().
Maximum Y-coordinate of the image.
Definition at line 101 of file pcx.hpp.
Referenced by claw::graphic::pcx::reader::load(), and claw::graphic::pcx::writer::write_header().
Minimum Y-coordinate of the image.
Definition at line 95 of file pcx.hpp.
Referenced by claw::graphic::pcx::reader::load(), and claw::graphic::pcx::writer::write_header().