Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

rgba.H File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef unsigned int uint
typedef unsigned char uchar

Functions

uint rgba_to_r (uint c)
uint rgba_to_g (uint c)
uint rgba_to_b (uint c)
uint rgba_to_a (uint c)
uint build_rgba (uchar r, uchar g, uchar b, uchar a=255U)
uint grey_to_rgba (uint c)
uint rgba_to_grey (uint c)
double rgba_to_r_d (uint c)
double rgba_to_g_d (uint c)
double rgba_to_b_d (uint c)
double rgba_to_a_d (uint c)
double rgba_to_grey_d (uint c)
uint rgba_to_tone (uint c)
double rgba_to_tone_d (uint c)


Typedef Documentation

typedef unsigned char uchar
 

Definition at line 19 of file rgba.H.

typedef unsigned int uint
 

Definition at line 18 of file rgba.H.


Function Documentation

uint build_rgba uchar  r,
uchar  g,
uchar  b,
uchar  a = 255U
[inline]
 

Definition at line 49 of file rgba.H.

Referenced by Color::color_to_rgba(), RefImage::fill(), Image::pixel_rgba(), RefImage::read_file(), and RefImage::set().

uint grey_to_rgba uint  c  )  [inline]
 

Definition at line 54 of file rgba.H.

uint rgba_to_a uint  c  )  [inline]
 

Definition at line 48 of file rgba.H.

Referenced by RefImage::alpha(), Image::pixel_a(), rgba_to_a_d(), and Color::rgba_to_alpha().

double rgba_to_a_d uint  c  )  [inline]
 

Definition at line 77 of file rgba.H.

References rgba_to_a().

Referenced by rgba_to_tone(), and rgba_to_tone_d().

uint rgba_to_b uint  c  )  [inline]
 

Definition at line 47 of file rgba.H.

Referenced by RefImage::blue(), RefImage::copy_rgb(), Image::pixel_b(), rgba_to_b_d(), Color::rgba_to_color(), rgba_to_grey(), and rgba_to_grey_d().

double rgba_to_b_d uint  c  )  [inline]
 

Definition at line 76 of file rgba.H.

References rgba_to_b().

uint rgba_to_g uint  c  )  [inline]
 

Definition at line 46 of file rgba.H.

Referenced by RefImage::copy_rgb(), RefImage::green(), Image::pixel_g(), Color::rgba_to_color(), rgba_to_g_d(), rgba_to_grey(), and rgba_to_grey_d().

double rgba_to_g_d uint  c  )  [inline]
 

Definition at line 75 of file rgba.H.

References rgba_to_g().

uint rgba_to_grey uint  c  )  [inline]
 

Definition at line 67 of file rgba.H.

References rgba_to_b(), rgba_to_g(), and rgba_to_r().

Referenced by RefImage::grey(), and rgba_to_tone().

double rgba_to_grey_d uint  c  )  [inline]
 

Definition at line 80 of file rgba.H.

References rgba_to_b(), rgba_to_g(), and rgba_to_r().

Referenced by RefImage::grey_d(), and rgba_to_tone_d().

uint rgba_to_r uint  c  )  [inline]
 

Definition at line 45 of file rgba.H.

Referenced by RefImage::copy_rgb(), Image::pixel_r(), RefImage::red(), Color::rgba_to_color(), rgba_to_grey(), rgba_to_grey_d(), and rgba_to_r_d().

double rgba_to_r_d uint  c  )  [inline]
 

Definition at line 74 of file rgba.H.

References rgba_to_r().

uint rgba_to_tone uint  c  )  [inline]
 

Definition at line 87 of file rgba.H.

References rgba_to_a_d(), and rgba_to_grey().

double rgba_to_tone_d uint  c  )  [inline]
 

Definition at line 95 of file rgba.H.

References rgba_to_a_d(), and rgba_to_grey_d().


Generated on Mon Sep 18 11:43:05 2006 for jot by  doxygen 1.4.4