Skia
2D Graphics Library
SkSVGG.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 SkSVGG_DEFINED
9 #define SkSVGG_DEFINED
10 
12 
13 class SK_API SkSVGG : public SkSVGContainer {
14 public:
15  static sk_sp<SkSVGG> Make() { return sk_sp<SkSVGG>(new SkSVGG()); }
16 
17 private:
18  SkSVGG() : INHERITED(SkSVGTag::kG) { }
19 
20  using INHERITED = SkSVGContainer;
21 };
22 
23 #endif // SkSVGG_DEFINED
SkSVGTag
Definition: SkSVGNode.h:23
Definition: SkSVGContainer.h:14
SkSVGContainer(SkSVGTag)
Definition: SkSVGG.h:13
static sk_sp< SkSVGG > Make()
Definition: SkSVGG.h:15
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220