Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkSVGFeTurbulence.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 SkSVGFeTurbulence_DEFINED
9#define SkSVGFeTurbulence_DEFINED
10
13
15public:
19
23 SVG_ATTR(TurbulenceType,
26
27protected:
28 sk_sp<SkImageFilter> onMakeImageFilter(const SkSVGRenderContext&,
29 const SkSVGFilterContext&) const override;
30
31 std::vector<SkSVGFeInputType> getInputs() const override { return {}; }
32
33 bool parseAndSetAttribute(const char*, const char*) override;
34private:
36
37 using INHERITED = SkSVGFe;
38};
39
40#endif // SkSVGFeTurbulence_DEFINED
#define SK_API
Definition SkAPI.h:35
#define INHERITED(method,...)
SkSVGTag
Definition SkSVGNode.h:23
#define SVG_ATTR(attr_name, attr_type, attr_default)
Definition SkSVGNode.h:203
SkScalar SkSVGNumberType
Definition SkSVGTypes.h:27
int SkSVGIntegerType
Definition SkSVGTypes.h:26
static sk_sp< SkSVGFeTurbulence > Make()
bool parseAndSetAttribute(const char *, const char *) override
Definition SkSVGFe.cpp:93
Definition ref_ptr.h:256