Chromium Code Reviews| 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 { |
|
robertphillips
2016/08/16 22:02:37
// circle & ellipse center x position ?
f(malita)
2016/08/16 22:18:01
Done.
| |
| 17 kCx, | |
|
robertphillips
2016/08/16 22:02:37
// circle & ellipse center y position ?
f(malita)
2016/08/16 22:18:01
Done.
| |
| 18 kCy, | |
| 17 kD, | 19 kD, |
| 18 kFill, | 20 kFill, |
| 19 kFillOpacity, | 21 kFillOpacity, |
| 20 kHeight, | 22 kHeight, |
| 21 kOpacity, | 23 kOpacity, |
| 22 kPoints, | 24 kPoints, |
|
robertphillips
2016/08/16 22:02:37
// circle radius ?
f(malita)
2016/08/16 22:18:01
Done.
| |
| 25 kR, | |
|
robertphillips
2016/08/16 22:02:37
// something about round rect & ellipse radii?
f(malita)
2016/08/16 22:18:01
Done.
| |
| 23 kRx, | 26 kRx, |
| 24 kRy, | 27 kRy, |
| 25 kStroke, | 28 kStroke, |
| 26 kStrokeOpacity, | 29 kStrokeOpacity, |
| 27 kStrokeLineCap, | 30 kStrokeLineCap, |
| 28 kStrokeLineJoin, | 31 kStrokeLineJoin, |
| 29 kStrokeWidth, | 32 kStrokeWidth, |
| 30 kTransform, | 33 kTransform, |
| 31 kViewBox, | 34 kViewBox, |
| 32 kWidth, | 35 kWidth, |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 47 SkTLazy<SkSVGPaint> fStroke; | 50 SkTLazy<SkSVGPaint> fStroke; |
| 48 SkTLazy<SkSVGLineCap> fStrokeLineCap; | 51 SkTLazy<SkSVGLineCap> fStrokeLineCap; |
| 49 SkTLazy<SkSVGLineJoin> fStrokeLineJoin; | 52 SkTLazy<SkSVGLineJoin> fStrokeLineJoin; |
| 50 SkTLazy<SkSVGNumberType> fStrokeOpacity; | 53 SkTLazy<SkSVGNumberType> fStrokeOpacity; |
| 51 SkTLazy<SkSVGLength> fStrokeWidth; | 54 SkTLazy<SkSVGLength> fStrokeWidth; |
| 52 | 55 |
| 53 SkTLazy<SkSVGNumberType> fOpacity; | 56 SkTLazy<SkSVGNumberType> fOpacity; |
| 54 }; | 57 }; |
| 55 | 58 |
| 56 #endif // SkSVGAttribute_DEFINED | 59 #endif // SkSVGAttribute_DEFINED |
| OLD | NEW |