#include <Blend.h>

Inheritance diagram for Graphics::BlendAlpha:
Collaboration diagram for Graphics::BlendAlpha:

Public Member Functions

 BlendAlpha (uint8_t alpha)
 
 BlendAlpha (Color color)
 
 BlendAlpha (PackedColor color)
 
void write (MetaWriter &meta) const override
 
void blend (PixelFormat format, const uint8_t *srcptr, uint8_t *dstptr, size_t length) const
 
Color blendColor (Color fg, Color bg, uint8_t alpha) const
 
- Public Member Functions inherited from Graphics::BlendTemplate< BlendAlpha, BlendMode::Alpha >
Mode mode () const override
 
void transform (PixelFormat format, PackedColor src, uint8_t *dstptr, size_t length) const override
 
void transform (PixelFormat format, const uint8_t *srcptr, uint8_t *dstptr, size_t length) const override
 
- Public Member Functions inherited from Graphics::AssetTemplate< AssetType::Blend >
virtual Type type () const override
 
 Asset ()
 
 Asset (ID id)
 
- Public Member Functions inherited from Graphics::Asset
 Asset ()
 
 Asset (ID id)
 
bool operator== (ID id) const
 
ID id () const
 
virtual String getTypeStr () const
 
- Public Member Functions inherited from LinkedObjectTemplate< Asset >
Asset * getNext () const
 
bool insertAfter (Asset *object)
 
Iterator begin () const
 
Iterator end () const
 
Iterator cbegin () const
 
Iterator cend () const
 
- Public Member Functions inherited from LinkedObject
virtual ~LinkedObject ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 

Static Public Member Functions

static PackedColor blend (PixelFormat format, PackedColor src, PackedColor dst)
 
static void blend (PixelFormat format, PackedColor src, uint8_t *dstptr, size_t length)
 
static void blend (PixelFormat format, const uint8_t *srcptr, uint8_t *dstptr, size_t length, uint8_t alpha)
 
static uint16_t blendRGB565 (uint16_t src, uint16_t dst, uint8_t alpha)
 
static void blendRGB565 (uint16_t src, uint8_t *dstptr, size_t length, uint8_t alpha)
 
static void blendRGB565 (const uint8_t *srcptr, uint8_t *dstptr, size_t length, uint8_t alpha)
 
static uint8_t blendChannel (uint8_t fg, uint8_t bg, uint8_t alpha)
 
static void blendRGB24 (PackedColor src, uint8_t *dstptr, size_t length)
 
static PixelBuffer blendColor (PixelBuffer fg, PixelBuffer bg, uint8_t alpha)
 

Additional Inherited Members

- Public Types inherited from Graphics::Blend
enum class  Mode { XX }
 
- Public Types inherited from Graphics::Asset
enum class  Type { XX }
 
using List = LinkedObjectListTemplate< Asset >
 
using OwnedList = OwnedLinkedObjectListTemplate< Asset >
 
using ID = AssetID
 
- Public Types inherited from LinkedObjectTemplate< Asset >
using Iterator = IteratorTemplate< Asset, Asset *, Asset & >
 
using ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & >
 
- Static Public Attributes inherited from Graphics::AssetTemplate< AssetType::Blend >
static constexpr Asset::Type assetType
 

Constructor & Destructor Documentation

◆ BlendAlpha() [1/3]

Graphics::BlendAlpha::BlendAlpha ( uint8_t  alpha)
inline

◆ BlendAlpha() [2/3]

Graphics::BlendAlpha::BlendAlpha ( Color  color)
inline

◆ BlendAlpha() [3/3]

Graphics::BlendAlpha::BlendAlpha ( PackedColor  color)
inline

Member Function Documentation

◆ blend() [1/4]

void Graphics::BlendAlpha::blend ( PixelFormat  format,
const uint8_t *  srcptr,
uint8_t *  dstptr,
size_t  length 
) const
inline

◆ blend() [2/4]

static void Graphics::BlendAlpha::blend ( PixelFormat  format,
const uint8_t *  srcptr,
uint8_t *  dstptr,
size_t  length,
uint8_t  alpha 
)
static

◆ blend() [3/4]

static PackedColor Graphics::BlendAlpha::blend ( PixelFormat  format,
PackedColor  src,
PackedColor  dst 
)
static

◆ blend() [4/4]

static void Graphics::BlendAlpha::blend ( PixelFormat  format,
PackedColor  src,
uint8_t *  dstptr,
size_t  length 
)
static

◆ blendChannel()

static uint8_t Graphics::BlendAlpha::blendChannel ( uint8_t  fg,
uint8_t  bg,
uint8_t  alpha 
)
static

◆ blendColor() [1/2]

Color Graphics::BlendAlpha::blendColor ( Color  fg,
Color  bg,
uint8_t  alpha 
) const
inline

◆ blendColor() [2/2]

static PixelBuffer Graphics::BlendAlpha::blendColor ( PixelBuffer  fg,
PixelBuffer  bg,
uint8_t  alpha 
)
static

◆ blendRGB24()

static void Graphics::BlendAlpha::blendRGB24 ( PackedColor  src,
uint8_t *  dstptr,
size_t  length 
)
static

◆ blendRGB565() [1/3]

static void Graphics::BlendAlpha::blendRGB565 ( const uint8_t *  srcptr,
uint8_t *  dstptr,
size_t  length,
uint8_t  alpha 
)
static

◆ blendRGB565() [2/3]

static uint16_t Graphics::BlendAlpha::blendRGB565 ( uint16_t  src,
uint16_t  dst,
uint8_t  alpha 
)
static

◆ blendRGB565() [3/3]

static void Graphics::BlendAlpha::blendRGB565 ( uint16_t  src,
uint8_t *  dstptr,
size_t  length,
uint8_t  alpha 
)
static

◆ write()

void Graphics::BlendAlpha::write ( MetaWriter meta) const
inlineoverridevirtual

Reimplemented from Graphics::Blend.


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