|
CLAW Library (a C++ Library Absolutely Wonderful) 1.5.5
|
One line in the image. More...
#include <image.hpp>
Public Types | |
| typedef std::vector< pixel_type > | super |
| The type of the parent class. | |
| typedef super::value_type | value_type |
| The type of the pixels. | |
| typedef super::reference | reference |
| Reference to a pixel.. | |
| typedef super::const_reference | const_reference |
| Const reference to a pixel. | |
| typedef super::iterator | iterator |
| Iterator in the line. | |
| typedef super::const_iterator | const_iterator |
| Const iterator in the line. | |
| typedef super::size_type | size_type |
| An unsigned integral type. | |
Public Member Functions | |
| iterator | begin () |
| Get an iterator on the first pixel. | |
| iterator | end () |
| Get en iterator past the last pixel. | |
| const_iterator | begin () const |
| Get an iterator on constant data on the first pixel. | |
| const_iterator | end () const |
| Get an iterator on constant data past the last pixel. | |
| reference | operator[] (unsigned int i) |
| Get a pixel from the line. | |
| const_reference | operator[] (unsigned int i) const |
| Get a pixel from the line. | |
| size_type | size () const |
| Get the length of the line. | |
Friends | |
| class | image |
| typedef super::const_iterator claw::graphic::image::scanline::const_iterator |
| typedef super::const_reference claw::graphic::image::scanline::const_reference |
| typedef super::iterator claw::graphic::image::scanline::iterator |
| typedef super::reference claw::graphic::image::scanline::reference |
| typedef super::size_type claw::graphic::image::scanline::size_type |
| typedef std::vector<pixel_type> claw::graphic::image::scanline::super |
| typedef super::value_type claw::graphic::image::scanline::value_type |
| claw::graphic::image::scanline::iterator claw::graphic::image::scanline::begin | ( | ) |
Get an iterator on the first pixel.
Definition at line 54 of file image.cpp.
Referenced by claw::graphic::bitmap::reader::pixel24_to_pixel32::operator()(), claw::graphic::bitmap::reader::pixel8_to_pixel32::operator()(), claw::graphic::bitmap::reader::pixel4_to_pixel32::operator()(), claw::graphic::bitmap::reader::pixel1_to_pixel32::operator()(), and claw::graphic::bitmap::writer::pixel32_to_pixel24().
{
return super::begin();
} // image::scanline::begin()
| claw::graphic::image::scanline::const_iterator claw::graphic::image::scanline::begin | ( | ) | const |
Get an iterator on constant data on the first pixel.
Definition at line 73 of file image.cpp.
References claw::graphic::image::begin().
{
return super::begin();
} // image::scanline::begin()
| claw::graphic::image::scanline::iterator claw::graphic::image::scanline::end | ( | ) |
Get en iterator past the last pixel.
Definition at line 63 of file image.cpp.
References claw::graphic::image::end().
Referenced by claw::graphic::bitmap::writer::pixel32_to_pixel24().
{
return super::end();
} // image::scanline::end()
| claw::graphic::image::scanline::const_iterator claw::graphic::image::scanline::end | ( | ) | const |
Get an iterator on constant data past the last pixel.
Definition at line 83 of file image.cpp.
References claw::graphic::image::end().
{
return super::end();
} // image::scanline::end()
| claw::graphic::image::scanline::reference claw::graphic::image::scanline::operator[] | ( | unsigned int | i | ) | [inline] |
Get a pixel from the line.
| i | The index of the pixel. |
Definition at line 38 of file image.ipp.
{
return super::operator[](i);
} // image::scanline::operator[]()
| claw::graphic::image::scanline::const_reference claw::graphic::image::scanline::operator[] | ( | unsigned int | i | ) | const [inline] |
Get a pixel from the line.
| i | The index of the pixel. |
Definition at line 49 of file image.ipp.
References claw::graphic::image::operator[]().
{
return super::operator[](i);
} // image::scanline::operator[]()
| claw::graphic::image::scanline::size_type claw::graphic::image::scanline::size | ( | ) | const |
Get the length of the line.
Definition at line 93 of file image.cpp.
Referenced by claw::graphic::pcx::reader::converter_16::operator()(), claw::graphic::pcx::reader::converter_mono::operator()(), claw::graphic::bitmap::reader::pixel24_to_pixel32::operator()(), claw::graphic::bitmap::reader::pixel8_to_pixel32::operator()(), claw::graphic::bitmap::reader::pixel4_to_pixel32::operator()(), and claw::graphic::bitmap::reader::pixel1_to_pixel32::operator()().
{
return super::size();
} // image::scanline::size()
1.7.3