OLD | NEW |
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 SkSVGAttribute_DEFINED | 8 #ifndef SkSVGAttribute_DEFINED |
9 #define SkSVGAttribute_DEFINED | 9 #define SkSVGAttribute_DEFINED |
10 | 10 |
11 #include "SkSVGTypes.h" | 11 #include "SkSVGTypes.h" |
12 #include "SkTLazy.h" | 12 #include "SkTLazy.h" |
13 | 13 |
14 class SkSVGRenderContext; | 14 class SkSVGRenderContext; |
15 | 15 |
16 enum class SkSVGAttribute { | 16 enum class SkSVGAttribute { |
17 kD, | 17 kD, |
18 kFill, | 18 kFill, |
19 kFillOpacity, | 19 kFillOpacity, |
20 kHeight, | 20 kHeight, |
| 21 kPoints, |
21 kRx, | 22 kRx, |
22 kRy, | 23 kRy, |
23 kStroke, | 24 kStroke, |
24 kStrokeOpacity, | 25 kStrokeOpacity, |
25 kStrokeLineCap, | 26 kStrokeLineCap, |
26 kStrokeLineJoin, | 27 kStrokeLineJoin, |
27 kStrokeWidth, | 28 kStrokeWidth, |
28 kTransform, | 29 kTransform, |
29 kViewBox, | 30 kViewBox, |
30 kWidth, | 31 kWidth, |
(...skipping 12 matching lines...) Expand all Loading... |
43 SkTLazy<SkSVGNumberType> fFillOpacity; | 44 SkTLazy<SkSVGNumberType> fFillOpacity; |
44 | 45 |
45 SkTLazy<SkSVGPaint> fStroke; | 46 SkTLazy<SkSVGPaint> fStroke; |
46 SkTLazy<SkSVGLineCap> fStrokeLineCap; | 47 SkTLazy<SkSVGLineCap> fStrokeLineCap; |
47 SkTLazy<SkSVGLineJoin> fStrokeLineJoin; | 48 SkTLazy<SkSVGLineJoin> fStrokeLineJoin; |
48 SkTLazy<SkSVGNumberType> fStrokeOpacity; | 49 SkTLazy<SkSVGNumberType> fStrokeOpacity; |
49 SkTLazy<SkSVGLength> fStrokeWidth; | 50 SkTLazy<SkSVGLength> fStrokeWidth; |
50 }; | 51 }; |
51 | 52 |
52 #endif // SkSVGAttribute_DEFINED | 53 #endif // SkSVGAttribute_DEFINED |
OLD | NEW |