Public Member Functions | |
| Row (PNMImage &image, int y) | |
| xelval | get_alpha_val (int x) const |
| Fetch the alpha value at the given column in the row. More... | |
| xel & | get_xel_val (int x) |
| Fetch the pixel at the given column in the row. More... | |
| LColorf | operator[] (int x) const |
| Fetch the RGB value at the given column in the row. More... | |
| void | set_alpha_val (int x, xelval v) |
| Set the alpha value at the given column in the row. More... | |
| void | set_xel_val (int x, const xel &v) |
| Set the pixel at the given column in the row. More... | |
| size_t | size () const |
| Get the number of pixels in the row. More... | |
Definition at line 278 of file pnmImage.h.
|
inline |
Fetch the alpha value at the given column in the row.
Definition at line 1012 of file pnmImage.I.
|
inline |
Fetch the pixel at the given column in the row.
Definition at line 996 of file pnmImage.I.
|
inline |
Fetch the RGB value at the given column in the row.
Definition at line 977 of file pnmImage.I.
|
inline |
Set the alpha value at the given column in the row.
Definition at line 1020 of file pnmImage.I.
|
inline |
Set the pixel at the given column in the row.
Definition at line 1004 of file pnmImage.I.
|
inline |
Get the number of pixels in the row.
Definition at line 969 of file pnmImage.I.
References PNMImageHeader::get_x_size().
1.8.15