Skia
2DGraphicsLibrary
|
This filter takes a SkBlendMode, and uses it to composite the foreground over the background. More...
#include <SkXfermodeImageFilter.h>
Public Member Functions | |
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP () | |
Static Public Member Functions | |
static sk_sp< SkImageFilter > | Make (SkBlendMode, sk_sp< SkImageFilter > background, sk_sp< SkImageFilter > foreground, const SkImageFilter::CropRect *cropRect) |
static sk_sp< SkImageFilter > | Make (SkBlendMode mode, sk_sp< SkImageFilter > background) |
This filter takes a SkBlendMode, and uses it to composite the foreground over the background.
If foreground or background is NULL, the input bitmap (src) is used instead.