Skia
2D Graphics Library
SkSVGFilter.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 SkSVGFilter_DEFINED
9 #define SkSVGFilter_DEFINED
10 
13 
14 class SK_API SkSVGFilter final : public SkSVGHiddenContainer {
15 public:
17 
19 
24  SVG_ATTR(FilterUnits,
27  SVG_ATTR(PrimitiveUnits,
30 
31 private:
33 
34  bool parseAndSetAttribute(const char*, const char*) override;
35 
37 };
38 
39 #endif // SkSVGFilter_DEFINED
SkSVGTag
Definition: SkSVGNode.h:23
#define SVG_ATTR(attr_name, attr_type, attr_default)
Definition: SkSVGNode.h:203
Definition: SkSVGFilter.h:14
bool parseAndSetAttribute(const char *, const char *) override
sk_sp< SkImageFilter > buildFilterDAG(const SkSVGRenderContext &) const
static sk_sp< SkSVGFilter > Make()
Definition: SkSVGFilter.h:16
Definition: SkSVGHiddenContainer.h:13
SkSVGHiddenContainer(SkSVGTag t)
Definition: SkSVGHiddenContainer.h:15
Definition: SkSVGTypes.h:116
Definition: SkSVGTypes.h:454
Definition: SkSVGRenderContext.h:61
Definition: SkSVGTransformableNode.h:14
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220