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

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

Issue 2220933003: [SVGDom] Improved transform parsing (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review 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
« no previous file with comments | « experimental/svg/model/SkSVGTypes.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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
OLDNEW
« no previous file with comments | « experimental/svg/model/SkSVGTypes.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698