Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkSVGFeFlood.h
Go to the documentation of this file.
1/*
2 * Copyright 2020 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkSVGFeFlood_DEFINED
9#define SkSVGFeFlood_DEFINED
10
13
14class SK_API SkSVGFeFlood : public SkSVGFe {
15public:
17
18protected:
20 const SkSVGFilterContext&) const override;
21
22 std::vector<SkSVGFeInputType> getInputs() const override { return {}; }
23
24private:
26
27 SkColor resolveFloodColor(const SkSVGRenderContext&) const;
28
29 using INHERITED = SkSVGFe;
30};
31
32#endif // SkSVGFeFlood_DEFINED
#define SK_API
Definition SkAPI.h:35
uint32_t SkColor
Definition SkColor.h:37
#define INHERITED(method,...)
SkSVGTag
Definition SkSVGNode.h:23
std::vector< SkSVGFeInputType > getInputs() const override
static sk_sp< SkSVGFeFlood > Make()
virtual sk_sp< SkImageFilter > onMakeImageFilter(const SkSVGRenderContext &, const SkSVGFilterContext &) const =0