Skip to content
- [Main Page](index.md) - [Classes](annotated.md) - [Files](files.md) - [Directories](dirs.md) - [Related Pages](pages.md)
- [Class List](annotated.md) - [Alphabetical List](classes.md) - [Class Hierarchy](hierarchy.md) - [Class Members](functions.md)

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)
RGBAByte operator+= (const RGBAByte &)
RGBAByte operator-= (const RGBAByte &)
RGBAByte operator *= (const float)
RGBAByte  operator+ (const RGBAByte &other)
  operator COLORREF ()
RGBAByte operator= (const RGBAByte &other)
RGBAByte operator/= (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