Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkXfermodeImageFilter Class Reference

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< SkImageFilterMake (SkBlendMode, sk_sp< SkImageFilter > background, sk_sp< SkImageFilter > foreground, const SkImageFilter::CropRect *cropRect)
 
static sk_sp< SkImageFilterMake (SkBlendMode mode, sk_sp< SkImageFilter > background)
 

Detailed Description

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.


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