Panda3D
Public Member Functions | Public Attributes | List of all members
pixel Struct Reference

Public Member Functions

 pixel (gray fill)
 
 pixel (gray r, gray g, gray b)
 
bool operator!= (const pixel &other)
 
pixel operator* (const double mult) const
 
void operator*= (const double mult)
 
pixel operator+ (const pixel &other) const
 
void operator+= (const pixel &other)
 
pixel operator- (const pixel &other) const
 
void operator-= (const pixel &other)
 
bool operator< (const pixel &other) const
 
bool operator== (const pixel &other)
 
gray & operator[] (int i)
 
gray operator[] (int i) const
 

Public Attributes

gray b
 
gray g
 
gray r
 

Detailed Description

Definition at line 41 of file pnmimage_base.h.


The documentation for this struct was generated from the following file: