Skia
2D Graphics Library
SkSVGDefs.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016 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 SkSVGDefs_DEFINED
9 #define SkSVGDefs_DEFINED
10 
12 
13 class SK_API SkSVGDefs : public SkSVGHiddenContainer {
14 public:
15  static sk_sp<SkSVGDefs> Make() { return sk_sp<SkSVGDefs>(new SkSVGDefs()); }
16 
17 private:
18  SkSVGDefs() : INHERITED(SkSVGTag::kDefs) {}
19 
20  using INHERITED = SkSVGHiddenContainer;
21 };
22 
23 #endif // SkSVGDefs_DEFINED
SkSVGTag
Definition: SkSVGNode.h:23
Definition: SkSVGDefs.h:13
static sk_sp< SkSVGDefs > Make()
Definition: SkSVGDefs.h:15
Definition: SkSVGHiddenContainer.h:13
SkSVGHiddenContainer(SkSVGTag t)
Definition: SkSVGHiddenContainer.h:15
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220