claw::graphic Namespace Reference

Everything about image structures and processing. More...

Classes

class  bitmap
 A class for bitmap images. More...
class  color_palette
 A palette of colors, for palettized images. More...
class  image
 A class to deal with images. More...
class  jpeg
 A class for jpeg pictures. More...
class  pcx
 A class for pcx pictures. More...
struct  rgb_pixel
 RGB pixel. More...
union  rgba_pixel
 RGBA pixel. More...
class  png
 A class for png pictures. More...
class  targa
 A class for targa pictures. More...
class  xbm
 A class for xbm pictures. More...

Typedefs

typedef rgb_pixel rgb_pixel_8
typedef rgba_pixel rgba_pixel_8

Functions

rgba_pixel white_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel red_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), 0, 0, std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel magenta_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel cyan_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max())
void jpeg__error_manager__error_exit (j_common_ptr cinfo)
 Throw an exception when an error occurs in an internal jpeg processing.

Variables

rgba_pixel black_pixel (0, 0, 0, std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel blue_pixel (0, 0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel green_pixel (0, std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel yellow_pixel (0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel white_pixel
rgba_pixel red_pixel
rgba_pixel magenta_pixel
rgba_pixel cyan_pixel

Detailed Description

Everything about image structures and processing.


Typedef Documentation

Definition at line 112 of file pixel.hpp.

Definition at line 113 of file pixel.hpp.


Function Documentation

rgba_pixel claw::graphic::cyan_pixel ( std::numeric_limits< rgba_pixel::component_type >::  max(),
std::numeric_limits< rgba_pixel::component_type >::  max(),
,
std::numeric_limits< rgba_pixel::component_type >::  max() 
)
void claw::graphic::jpeg__error_manager__error_exit ( j_common_ptr  cinfo  ) 

Throw an exception when an error occurs in an internal jpeg processing.

Parameters:
cinfo Informations about the process.

Definition at line 39 of file jpeg_error_manager.cpp.

References claw::graphic::jpeg::error_manager::error_string, and claw::graphic::jpeg::error_manager::setjmp_buffer.

Referenced by claw::graphic::jpeg::reader::decompress(), claw::graphic::jpeg::reader::read_data(), claw::graphic::jpeg::reader::read_from_file(), claw::graphic::jpeg::writer::save(), and claw::graphic::jpeg::writer::save_image().

00040 {
00041   claw::graphic::jpeg::error_manager* err =
00042     (claw::graphic::jpeg::error_manager*)cinfo->err;
00043 
00044   err->error_string = cinfo->err->jpeg_message_table[cinfo->err->msg_code];
00045 
00046   /* Return control to the setjmp point */
00047   longjmp(err->setjmp_buffer, 1);
00048 } // jpeg__error_manager__error_exit()

rgba_pixel claw::graphic::magenta_pixel ( std::numeric_limits< rgba_pixel::component_type >::  max(),
,
std::numeric_limits< rgba_pixel::component_type >::  max(),
std::numeric_limits< rgba_pixel::component_type >::  max() 
)
rgba_pixel claw::graphic::red_pixel ( std::numeric_limits< rgba_pixel::component_type >::  max(),
,
,
std::numeric_limits< rgba_pixel::component_type >::  max() 
)
rgba_pixel claw::graphic::white_pixel ( std::numeric_limits< rgba_pixel::component_type >::  max(),
std::numeric_limits< rgba_pixel::component_type >::  max(),
std::numeric_limits< rgba_pixel::component_type >::  max(),
std::numeric_limits< rgba_pixel::component_type >::  max() 
)

Variable Documentation

Definition at line 118 of file pixel.hpp.

Definition at line 119 of file pixel.hpp.

Definition at line 122 of file pixel.hpp.


Generated on 19 Apr 2010 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.6.1