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 SkSVGValue_DEFINED | 8 #ifndef SkSVGValue_DEFINED |
9 #define SkSVGValue_DEFINED | 9 #define SkSVGValue_DEFINED |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 private: | 54 private: |
55 // Stack-only | 55 // Stack-only |
56 void* operator new(size_t) = delete; | 56 void* operator new(size_t) = delete; |
57 void* operator new(size_t, void*) = delete; | 57 void* operator new(size_t, void*) = delete; |
58 | 58 |
59 const T& fWrappedValue; | 59 const T& fWrappedValue; |
60 | 60 |
61 typedef SkSVGValue INHERITED; | 61 typedef SkSVGValue INHERITED; |
62 }; | 62 }; |
63 | 63 |
64 using SkSVGColorValue = SkSVGWrapperValue<SkSVGColorType , SkSVGValue::Type
::kColor >; | 64 using SkSVGColorValue = SkSVGWrapperValue<SkSVGColorType , SkSVGValue::Ty
pe::kColor >; |
65 using SkSVGLengthValue = SkSVGWrapperValue<SkSVGLength , SkSVGValue::Type
::kLength >; | 65 using SkSVGLengthValue = SkSVGWrapperValue<SkSVGLength , SkSVGValue::Ty
pe::kLength >; |
66 using SkSVGPathValue = SkSVGWrapperValue<SkPath , SkSVGValue::Type
::kPath >; | 66 using SkSVGPathValue = SkSVGWrapperValue<SkPath , SkSVGValue::Ty
pe::kPath >; |
67 using SkSVGTransformValue = SkSVGWrapperValue<SkMatrix , SkSVGValue::Type
::kTransform>; | 67 using SkSVGTransformValue = SkSVGWrapperValue<SkSVGTransformType, SkSVGValue::Ty
pe::kTransform>; |
68 using SkSVGViewBoxValue = SkSVGWrapperValue<SkSVGViewBoxType, SkSVGValue::Type
::kViewBox >; | 68 using SkSVGViewBoxValue = SkSVGWrapperValue<SkSVGViewBoxType , SkSVGValue::Ty
pe::kViewBox >; |
69 | 69 |
70 #endif // SkSVGValue_DEFINED | 70 #endif // SkSVGValue_DEFINED |
OLD | NEW |