My Project
Public Member Functions | Public Attributes | List of all members
Pixel Class Reference

#include <image.h>

Public Member Functions

 Pixel (void)
 
 Pixel (const class Pixel32 &p)
 

Public Attributes

float r
 
float g
 
float b
 
float a
 

Detailed Description

The value of pi to many significant digits/*/ #define PI

/** This structure represents a 4-channel, floating point precision pixel.

Constructor & Destructor Documentation

Pixel::Pixel ( void  )

This constructor instantiates a pixel with 0 for the red, green and blue components, and 255 for the alpha.

Pixel::Pixel ( const class Pixel32 p)

This constructor instantiates a 32 bit pixel representation of the RGBA components.

Member Data Documentation

float Pixel::r

The red, green, blue, and alpha components of the pixel


The documentation for this class was generated from the following files: