#include <sc_store.h>

Public Member Functions

 GrayAlpha16 ()=default
 
 GrayAlpha16 (uint8_t gray, uint8_t alpha)
 
bool operator!= (GrayAlpha16 const &that) const
 
bool operator== (GrayAlpha16 const &that) const
 

Public Attributes

uint8_t alpha
 
uint8_t gray
 

Detailed Description

A gray color with an alpha , where each channel is in discrete [0, 255] space.

Constructor & Destructor Documentation

◆ GrayAlpha16() [1/2]

SC::Store::GrayAlpha16::GrayAlpha16 ( )
default

◆ GrayAlpha16() [2/2]

SC::Store::GrayAlpha16::GrayAlpha16 ( uint8_t  gray,
uint8_t  alpha 
)

Member Function Documentation

◆ operator!=()

bool SC::Store::GrayAlpha16::operator!= ( GrayAlpha16 const &  that) const

◆ operator==()

bool SC::Store::GrayAlpha16::operator== ( GrayAlpha16 const &  that) const

Member Data Documentation

◆ alpha

uint8_t SC::Store::GrayAlpha16::alpha

◆ gray

uint8_t SC::Store::GrayAlpha16::gray