Panda3D
Public Member Functions | List of all members
PNMImage::CRow Class Reference

Public Member Functions

 __init__ (const PNMImage::CRow)
 
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)
 
int size ()
 Get the number of pixels in the row. More...
 

Member Function Documentation

◆ __init__()

__init__ ( const PNMImage::CRow  )

◆ getAlphaVal()

Xelval getAlphaVal ( int  x)

Fetch the alpha value at the given column in the row.

◆ getXelVal()

Xel getXelVal ( int  x)

Fetch the pixel at the given column in the row.

◆ operator []()

LColorf operator [] ( int  x)

◆ size()

int size ( )

Get the number of pixels in the row.