RGBA Class Reference

#include <threshold.h>


Public Member Functions

 RGBA ()
 RGBA (int r, int g, int b, int a)
void set (int r, int g, int b, int a)
void set (int rgb, int alpha)
int getRGB () const
RGBA load_default (BC_Hash *defaults, const char *prefix) const
void save_defaults (BC_Hash *defaults, const char *prefix) const
void set_property (XMLTag &tag, const char *prefix) const
RGBA get_property (XMLTag &tag, const char *prefix) const

Data Fields

int r
int g
int b
int a


Detailed Description

Definition at line 16 of file threshold.h.


Constructor & Destructor Documentation

RGBA::RGBA (  ) 

Definition at line 691 of file threshold.C.

References a, b, g, and r.

Referenced by get_property(), interpolate(), and load_default().

RGBA::RGBA ( int  r,
int  g,
int  b,
int  a 
)

Definition at line 696 of file threshold.C.


Member Function Documentation

void RGBA::set ( int  r,
int  g,
int  b,
int  a 
)

Definition at line 704 of file threshold.C.

Referenced by ThresholdConfig::reset().

void RGBA::set ( int  rgb,
int  alpha 
)

Definition at line 712 of file threshold.C.

References a, b, g, and r.

int RGBA::getRGB (  )  const

RGBA RGBA::load_default ( BC_Hash defaults,
const char *  prefix 
) const

Definition at line 742 of file threshold.C.

References a, b, g, BC_Hash::get(), init_RGBA_keys(), r, and RGBA().

Here is the call graph for this function:

void RGBA::save_defaults ( BC_Hash defaults,
const char *  prefix 
) const

Definition at line 753 of file threshold.C.

References a, b, g, init_RGBA_keys(), r, and BC_Hash::update().

Here is the call graph for this function:

void RGBA::set_property ( XMLTag tag,
const char *  prefix 
) const

Definition at line 764 of file threshold.C.

References a, b, g, init_RGBA_keys(), r, and XMLTag::set_property().

Here is the call graph for this function:

RGBA RGBA::get_property ( XMLTag tag,
const char *  prefix 
) const

Definition at line 775 of file threshold.C.

References a, b, g, XMLTag::get_property(), init_RGBA_keys(), r, and RGBA().

Here is the call graph for this function:


Field Documentation

int RGBA::r

int RGBA::g

int RGBA::b

int RGBA::a


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

Generated on Mon Apr 28 14:41:47 2008 for Cinelerra by  doxygen 1.5.5