RGBAByte Class Reference

#include <RGBByte.h>

Collaboration diagram for RGBAByte:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RGBAByte ()
 RGBAByte (UBYTE pred, UBYTE pgreen, UBYTE pblue)
 RGBAByte (UBYTE pred, UBYTE pgreen, UBYTE pblue, UBYTE palpha)
 RGBAByte (COLORREF c)
 RGBAByte (const RGBAFloat &color)
void * operator new (size_t size)
void operator delete (void *ptr)
RGBAByteoperator+= (const RGBAByte &)
RGBAByteoperator-= (const RGBAByte &)
RGBAByteoperator *= (const float)
RGBAByte operator+ (const RGBAByte &other)
 operator COLORREF ()
RGBAByteoperator= (const RGBAByte &other)
RGBAByteoperator/= (float scale)
RGBFloat GetFactoredRGBFloat () const
RGBFloat GetNormalizedRGBFloat () const
RGBAFloat GetFactoredRGBAFloat () const
RGBAFloat GetNormalizedRGBAFloat () const
UBYTE Red () const
UBYTE Green () const
UBYTE Blue () const
UBYTE Alpha () const
void Set (UBYTE pred, UBYTE pgreen, UBYTE pblue, UBYTE alpha)
void SetRed (UBYTE red)
void SetGreen (UBYTE green)
void SetBlue (UBYTE blue)
void SetAlpha (UBYTE alpha)
RGBAByte GammaCorrect (float power)
RGBFloat GetRGBFloat () const
RGBAFloat GetRGBAFloat () const
float GetOpacity () const
void Set (const RGBFloat &)
void Set (const RGBAFloat &)
void SetOpacity (const float value)
float GetLuminance ()
BOOL CheckOffBound (float lobound, float hibound)

Public Attributes

RGBByte m_color
UBYTE m_alpha

Detailed Description

Definition at line 141 of file RGBByte.h.


Constructor & Destructor Documentation

RGBAByte::RGBAByte  )  [inline]
 

Definition at line 146 of file RGBByte.h.

References m_alpha, m_color, MAXCOLOR, and RGBByte::Set().

Referenced by operator+().

Here is the call graph for this function:

RGBAByte::RGBAByte UBYTE  pred,
UBYTE  pgreen,
UBYTE  pblue
[inline]
 

Definition at line 147 of file RGBByte.h.

References m_alpha, m_color, MAXCOLOR, and RGBByte::Set().

Here is the call graph for this function:

RGBAByte::RGBAByte UBYTE  pred,
UBYTE  pgreen,
UBYTE  pblue,
UBYTE  palpha
[inline]
 

Definition at line 148 of file RGBByte.h.

References m_alpha, m_color, and RGBByte::Set().

Here is the call graph for this function:

RGBAByte::RGBAByte COLORREF  c  )  [inline]
 

Definition at line 149 of file RGBByte.h.

References m_alpha, and MAXCOLOR.

RGBAByte::RGBAByte const RGBAFloat color  ) 
 


Member Function Documentation

UBYTE RGBAByte::Alpha  )  const [inline]
 

Definition at line 175 of file RGBByte.h.

References m_alpha.

Referenced by RGBAFloat::RGBAFloat(), and YAFloat::YAFloat().

UBYTE RGBAByte::Blue  )  const [inline]
 

Definition at line 174 of file RGBByte.h.

References RGBByte::m_blue, and m_color.

Referenced by YAFloat::YAFloat().

BOOL RGBAByte::CheckOffBound float  lobound,
float  hibound
[inline]
 

Definition at line 197 of file RGBByte.h.

References FALSE.

RGBAByte RGBAByte::GammaCorrect float  power  )  [inline]
 

Definition at line 181 of file RGBByte.h.

References RGBByte::GammaCorrect(), m_alpha, and m_color.

Here is the call graph for this function:

RGBAFloat RGBAByte::GetFactoredRGBAFloat  )  const
 

RGBFloat RGBAByte::GetFactoredRGBFloat  )  const
 

float RGBAByte::GetLuminance  )  [inline]
 

Definition at line 195 of file RGBByte.h.

References RGBByte::GetLuminance(), and m_color.

Here is the call graph for this function:

RGBAFloat RGBAByte::GetNormalizedRGBAFloat  )  const
 

RGBFloat RGBAByte::GetNormalizedRGBFloat  )  const
 

float RGBAByte::GetOpacity  )  const [inline]
 

Definition at line 200 of file RGBByte.h.

References m_alpha, and MAXCOLOR.

RGBAFloat RGBAByte::GetRGBAFloat  )  const [inline]
 

RGBFloat RGBAByte::GetRGBFloat  )  const [inline]
 

UBYTE RGBAByte::Green  )  const [inline]
 

Definition at line 173 of file RGBByte.h.

References m_color, and RGBByte::m_green.

Referenced by YAFloat::YAFloat().

RGBAByte & RGBAByte::operator *= const   float  )  [inline]
 

Definition at line 236 of file RGBByte.h.

References m_alpha, and m_color.

RGBAByte::operator COLORREF  )  [inline]
 

Definition at line 163 of file RGBByte.h.

References m_color.

void RGBAByte::operator delete void *  ptr  )  [inline]
 

Definition at line 157 of file RGBByte.h.

References FreeBitmap().

Here is the call graph for this function:

void* RGBAByte::operator new size_t  size  )  [inline]
 

Definition at line 155 of file RGBByte.h.

References AllocBitmap().

Here is the call graph for this function:

RGBAByte RGBAByte::operator+ const RGBAByte other  )  [inline]
 

Definition at line 222 of file RGBByte.h.

References m_alpha, m_color, and RGBAByte().

Here is the call graph for this function:

RGBAByte & RGBAByte::operator+= const RGBAByte  )  [inline]
 

Definition at line 210 of file RGBByte.h.

References m_alpha, m_color, and MAXCOLOR.

RGBAByte & RGBAByte::operator-= const RGBAByte  )  [inline]
 

Definition at line 229 of file RGBByte.h.

References m_alpha, and m_color.

RGBAByte& RGBAByte::operator/= float  scale  )  [inline]
 

Definition at line 165 of file RGBByte.h.

RGBAByte& RGBAByte::operator= const RGBAByte other  )  [inline]
 

Definition at line 164 of file RGBByte.h.

References m_alpha, and m_color.

UBYTE RGBAByte::Red  )  const [inline]
 

Definition at line 172 of file RGBByte.h.

References m_color, and RGBByte::m_red.

Referenced by YAFloat::YAFloat().

void RGBAByte::Set const RGBAFloat  )  [inline]
 

void RGBAByte::Set const RGBFloat  )  [inline]
 

void RGBAByte::Set UBYTE  pred,
UBYTE  pgreen,
UBYTE  pblue,
UBYTE  alpha
[inline]
 

Definition at line 176 of file RGBByte.h.

References m_alpha, m_color, and RGBByte::Set().

Here is the call graph for this function:

void RGBAByte::SetAlpha UBYTE  alpha  )  [inline]
 

Definition at line 180 of file RGBByte.h.

References m_alpha.

void RGBAByte::SetBlue UBYTE  blue  )  [inline]
 

Definition at line 179 of file RGBByte.h.

References m_color, and RGBByte::SetBlue().

Here is the call graph for this function:

void RGBAByte::SetGreen UBYTE  green  )  [inline]
 

Definition at line 178 of file RGBByte.h.

References m_color, and RGBByte::SetGreen().

Here is the call graph for this function:

void RGBAByte::SetOpacity const float  value  )  [inline]
 

Definition at line 205 of file RGBByte.h.

References FLOATTOBYTE, and m_alpha.

void RGBAByte::SetRed UBYTE  red  )  [inline]
 

Definition at line 177 of file RGBByte.h.

References m_color, and RGBByte::SetRed().

Here is the call graph for this function:


Member Data Documentation

UBYTE RGBAByte::m_alpha
 

Definition at line 144 of file RGBByte.h.

Referenced by Alpha(), GammaCorrect(), GetOpacity(), operator *=(), operator+(), operator+=(), operator-=(), operator=(), RGBAByte(), Set(), SetAlpha(), and SetOpacity().

RGBByte RGBAByte::m_color
 

Definition at line 143 of file RGBByte.h.

Referenced by Blue(), GammaCorrect(), GetLuminance(), Green(), operator *=(), operator COLORREF(), operator+(), operator+=(), operator-=(), operator=(), Red(), RGBAByte(), Set(), SetBlue(), SetGreen(), and SetRed().


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:47:02 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001