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

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

Issue 2339533002: [SVGDom] Linear gradient 'gradientTransform' support (Closed)
Patch Set: rebased Created 4 years, 3 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 | « no previous file | experimental/svg/model/SkSVGDOM.cpp » ('j') | 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 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 kCx, // <circle>,<ellipse>: center x position 17 kCx, // <circle>,<ellipse>: center x position
18 kCy, // <circle>,<ellipse>: center y position 18 kCy, // <circle>,<ellipse>: center y position
19 kD, 19 kD,
20 kFill, 20 kFill,
21 kFillOpacity, 21 kFillOpacity,
22 kGradientTransform,
22 kHeight, 23 kHeight,
23 kHref, 24 kHref,
24 kOffset, 25 kOffset,
25 kOpacity, 26 kOpacity,
26 kPoints, 27 kPoints,
27 kR, // <circle>: radius 28 kR, // <circle>: radius
28 kRx, // <ellipse>,<rect>: horizontal (corner) radius 29 kRx, // <ellipse>,<rect>: horizontal (corner) radius
29 kRy, // <ellipse>,<rect>: vertical (corner) radius 30 kRy, // <ellipse>,<rect>: vertical (corner) radius
30 kSpreadMethod, 31 kSpreadMethod,
31 kStopColor, 32 kStopColor,
(...skipping 27 matching lines...) Expand all
59 SkTLazy<SkSVGPaint> fStroke; 60 SkTLazy<SkSVGPaint> fStroke;
60 SkTLazy<SkSVGLineCap> fStrokeLineCap; 61 SkTLazy<SkSVGLineCap> fStrokeLineCap;
61 SkTLazy<SkSVGLineJoin> fStrokeLineJoin; 62 SkTLazy<SkSVGLineJoin> fStrokeLineJoin;
62 SkTLazy<SkSVGNumberType> fStrokeOpacity; 63 SkTLazy<SkSVGNumberType> fStrokeOpacity;
63 SkTLazy<SkSVGLength> fStrokeWidth; 64 SkTLazy<SkSVGLength> fStrokeWidth;
64 65
65 SkTLazy<SkSVGNumberType> fOpacity; 66 SkTLazy<SkSVGNumberType> fOpacity;
66 }; 67 };
67 68
68 #endif // SkSVGAttribute_DEFINED 69 #endif // SkSVGAttribute_DEFINED
OLDNEW
« no previous file with comments | « no previous file | experimental/svg/model/SkSVGDOM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698