Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1949)

Side by Side Diff: experimental/svg/model/SkSVGNode.h

Issue 2244223005: [SVGDom] Add <line> support (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkSVGNode_DEFINED 8 #ifndef SkSVGNode_DEFINED
9 #define SkSVGNode_DEFINED 9 #define SkSVGNode_DEFINED
10 10
11 #include "SkRefCnt.h" 11 #include "SkRefCnt.h"
12 #include "SkSVGAttribute.h" 12 #include "SkSVGAttribute.h"
13 13
14 class SkCanvas; 14 class SkCanvas;
15 class SkMatrix; 15 class SkMatrix;
16 class SkSVGRenderContext; 16 class SkSVGRenderContext;
17 class SkSVGValue; 17 class SkSVGValue;
18 18
19 enum class SkSVGTag { 19 enum class SkSVGTag {
20 kG, 20 kG,
21 kLine,
21 kPath, 22 kPath,
22 kPolygon, 23 kPolygon,
23 kPolyline, 24 kPolyline,
24 kRect, 25 kRect,
25 kSvg 26 kSvg
26 }; 27 };
27 28
28 class SkSVGNode : public SkRefCnt { 29 class SkSVGNode : public SkRefCnt {
29 public: 30 public:
30 virtual ~SkSVGNode(); 31 virtual ~SkSVGNode();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 private: 63 private:
63 SkSVGTag fTag; 64 SkSVGTag fTag;
64 65
65 // FIXME: this should be sparse 66 // FIXME: this should be sparse
66 SkSVGPresentationAttributes fPresentationAttributes; 67 SkSVGPresentationAttributes fPresentationAttributes;
67 68
68 typedef SkRefCnt INHERITED; 69 typedef SkRefCnt INHERITED;
69 }; 70 };
70 71
71 #endif // SkSVGNode_DEFINED 72 #endif // SkSVGNode_DEFINED
OLDNEW
« BUILD.gn ('K') | « experimental/svg/model/SkSVGLine.cpp ('k') | gyp/svg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698