Claw
1.7.0
|
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 |
|
inline |
|
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[]().