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

Side by Side Diff: third_party/WebKit/Source/core/paint/SVGShapePainter.h

Issue 2751433002: [SPv2] Flatten property trees in PaintRecordBuilder into a single display list. (Closed)
Patch Set: none Created 3 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SVGShapePainter_h 5 #ifndef SVGShapePainter_h
6 #define SVGShapePainter_h 6 #define SVGShapePainter_h
7 7
8 #include "platform/graphics/paint/PaintFlags.h" 8 #include "platform/graphics/paint/PaintFlags.h"
9 #include "third_party/skia/include/core/SkPath.h" 9 #include "third_party/skia/include/core/SkPath.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
(...skipping 17 matching lines...) Expand all
28 void paint(const PaintInfo&); 28 void paint(const PaintInfo&);
29 29
30 private: 30 private:
31 void fillShape(GraphicsContext&, const PaintFlags&, SkPath::FillType); 31 void fillShape(GraphicsContext&, const PaintFlags&, SkPath::FillType);
32 void strokeShape(GraphicsContext&, const PaintFlags&); 32 void strokeShape(GraphicsContext&, const PaintFlags&);
33 33
34 void paintMarkers(const PaintInfo&, const FloatRect& boundingBox); 34 void paintMarkers(const PaintInfo&, const FloatRect& boundingBox);
35 void paintMarker(const PaintInfo&, 35 void paintMarker(const PaintInfo&,
36 const LayoutSVGResourceMarker&, 36 const LayoutSVGResourceMarker&,
37 const MarkerPosition&, 37 const MarkerPosition&,
38 float); 38 float strokeWidth);
39 39
40 const LayoutSVGShape& m_layoutSVGShape; 40 const LayoutSVGShape& m_layoutSVGShape;
41 }; 41 };
42 42
43 } // namespace blink 43 } // namespace blink
44 44
45 #endif // SVGShapePainter_h 45 #endif // SVGShapePainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGShapePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698