A proxy to a row in an image.
More...
#include <image.hpp>
List of all members.
Public Member Functions |
| Row_proxy (Image *img, unsigned y) noexcept |
| Constructs a proxy to a given row in a given image.
|
Pixel_proxy | operator[] (unsigned x) |
| Returns a proxy to the xth pixel of the row.
|
Private Attributes |
Image * | img |
unsigned | y |
Detailed Description
A proxy to a row in an image.
Definition at line 57 of file image.hpp.
Constructor & Destructor Documentation
Row_proxy::Row_proxy |
( |
Image * |
img, |
|
|
unsigned |
y |
|
) |
| |
Constructs a proxy to a given row in a given image.
- Parameters:
-
img | the Image containing the row |
y | the index of the row in img |
Definition at line 198 of file image.cpp.
Member Function Documentation
Returns a proxy to the xth pixel of the row.
- Parameters:
-
x | the column of the returned Pixel |
Definition at line 200 of file image.cpp.
Member Data Documentation
The containing image
Definition at line 75 of file image.hpp.
The target row
Definition at line 76 of file image.hpp.
The documentation for this class was generated from the following files: