#include "third_party/blink/renderer/platform/graphics/filters/fe_composite.h"
#include "base/types/optional_util.h"
#include "third_party/blink/renderer/platform/graphics/filters/paint_filter_builder.h"
#include "third_party/blink/renderer/platform/graphics/skia/skia_utils.h"
#include "third_party/blink/renderer/platform/wtf/text/text_stream.h"
namespace blink {
FEComposite::FEComposite(Filter* filter,
const CompositeOperationType& type,
float k1,
float k2,
float k3,
float k4)
: … { … }
CompositeOperationType FEComposite::Operation() const { … }
bool FEComposite::SetOperation(CompositeOperationType type) { … }
float FEComposite::K1() const { … }
bool FEComposite::SetK1(float k1) { … }
float FEComposite::K2() const { … }
bool FEComposite::SetK2(float k2) { … }
float FEComposite::K3() const { … }
bool FEComposite::SetK3(float k3) { … }
float FEComposite::K4() const { … }
bool FEComposite::SetK4(float k4) { … }
bool FEComposite::AffectsTransparentPixels() const { … }
gfx::RectF FEComposite::MapInputs(const gfx::RectF& rect) const { … }
SkBlendMode ToBlendMode(CompositeOperationType mode) { … }
sk_sp<PaintFilter> FEComposite::CreateImageFilter() { … }
sk_sp<PaintFilter> FEComposite::CreateImageFilterWithoutValidation() { … }
sk_sp<PaintFilter> FEComposite::CreateImageFilterInternal(
bool requires_pm_color_validation) { … }
static WTF::TextStream& operator<<(WTF::TextStream& ts,
const CompositeOperationType& type) { … }
WTF::TextStream& FEComposite::ExternalRepresentation(WTF::TextStream& ts,
int indent) const { … }
}