Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkSVGFeImage.h
Go to the documentation of this file.
1/*
2 * Copyright 2021 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 SkSVGFeImage_DEFINED
9#define SkSVGFeImage_DEFINED
10
13
14class SK_API SkSVGFeImage : public SkSVGFe {
15public:
17
18 SVG_ATTR(Href , SkSVGIRI , SkSVGIRI())
20
21protected:
22 bool parseAndSetAttribute(const char*, const char*) override;
23
24 sk_sp<SkImageFilter> onMakeImageFilter(const SkSVGRenderContext&,
25 const SkSVGFilterContext&) const override;
26
27 std::vector<SkSVGFeInputType> getInputs() const override { return {}; }
28
29private:
31
32 using INHERITED = SkSVGFe;
33};
34
35#endif // SkSVGFeImage_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
static sk_sp< SkSVGFeImage > Make()
Definition ref_ptr.h:256