Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Pixel Struct Reference

#include <pandadoc.hpp>

Public Member Functions

 __init__ ()
 
 __init__ (const Pixel)
 
 __init__ (Gray fill)
 
 __init__ (Gray r, Gray g, Gray b)
 
bool operator!= (const Pixel other)
 
Pixel operator* (const double mult)
 
Pixel operator*= (const double mult)
 
Pixel operator+ (const Pixel other)
 
Pixel operator+= (const Pixel other)
 
Pixel operator- (const Pixel other)
 
Pixel operator-= (const Pixel other)
 
bool operator< (const Pixel other)
 
bool operator== (const Pixel other)
 
Gray operator[] (int i)
 
 operator[] (int i, Gray assign_val)
 
 output (Ostream out)
 

Static Public Member Functions

static int size ()
 

Public Attributes

Gray b
 
Gray g
 
Gray r
 

Member Function Documentation

◆ __init__() [1/4]

__init__ ( )

◆ __init__() [2/4]

__init__ ( const Pixel )

◆ __init__() [3/4]

__init__ ( Gray fill)

◆ __init__() [4/4]

__init__ ( Gray r,
Gray g,
Gray b )

◆ operator!=()

bool operator!= ( const Pixel other)

◆ operator*()

Pixel operator* ( const double mult)

◆ operator*=()

Pixel operator*= ( const double mult)

◆ operator+()

Pixel operator+ ( const Pixel other)

◆ operator+=()

Pixel operator+= ( const Pixel other)

◆ operator-()

Pixel operator- ( const Pixel other)

◆ operator-=()

Pixel operator-= ( const Pixel other)

◆ operator<()

bool operator< ( const Pixel other)

◆ operator==()

bool operator== ( const Pixel other)

◆ operator[]() [1/2]

Gray operator[] ( int i)

◆ operator[]() [2/2]

operator[] ( int i,
Gray assign_val )

◆ output()

output ( Ostream out)

◆ size()

static int size ( )
static

Member Data Documentation

◆ b

Gray b

◆ g

Gray g

◆ r

Gray r