Panda3D
|
Public Member Functions | |
__init__ (const PNMImage::Row) | |
__setitem__ (int x, const LColorf v) | |
Set the pixel at the given column in the row. More... | |
Xelval | getAlphaVal (int x) |
Fetch the alpha value at the given column in the row. More... | |
Xel | getXelVal (int x) |
Fetch the pixel at the given column in the row. More... | |
LColorf | operator[] (int x) |
setAlphaVal (int x, Xelval v) | |
Set the alpha value at the given column in the row. More... | |
setXelVal (int x, const Xel v) | |
Set the pixel at the given column in the row. More... | |
int | size () |
Get the number of pixels in the row. More... | |
__init__ | ( | const PNMImage::Row | ) |
__setitem__ | ( | int | x, |
const LColorf | v | ||
) |
Set the pixel at the given column in the row.
If the image has no alpha channel, the alpha component is ignored.
Xelval getAlphaVal | ( | int | x | ) |
Fetch the alpha value at the given column in the row.
Xel getXelVal | ( | int | x | ) |
Fetch the pixel at the given column in the row.
LColorf operator[] | ( | int | x | ) |
setAlphaVal | ( | int | x, |
Xelval | v | ||
) |
Set the alpha value at the given column in the row.
setXelVal | ( | int | x, |
const Xel | v | ||
) |
Set the pixel at the given column in the row.
int size | ( | ) |
Get the number of pixels in the row.