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

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

Issue 927583002: Moving RenderSVG* files from rendering/ to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/paint/SVGImagePainter.cpp ('k') | Source/core/paint/SVGShapePainter.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 // 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 namespace blink { 8 namespace blink {
9 9
10 struct MarkerPosition; 10 struct MarkerPosition;
11 struct PaintInfo; 11 struct PaintInfo;
12 class FloatPoint; 12 class FloatPoint;
13 class GraphicsContext; 13 class GraphicsContext;
14 class Path; 14 class Path;
15 class LayoutSVGResourceMarker; 15 class LayoutSVGResourceMarker;
16 class RenderSVGShape; 16 class LayoutSVGShape;
17 17
18 class SVGShapePainter { 18 class SVGShapePainter {
19 public: 19 public:
20 SVGShapePainter(RenderSVGShape& renderSVGShape) : m_renderSVGShape(renderSVG Shape) { } 20 SVGShapePainter(LayoutSVGShape& renderSVGShape) : m_renderSVGShape(renderSVG Shape) { }
21 21
22 void paint(const PaintInfo&); 22 void paint(const PaintInfo&);
23 23
24 private: 24 private:
25 void fillShape(GraphicsContext*); 25 void fillShape(GraphicsContext*);
26 void strokeShape(GraphicsContext*); 26 void strokeShape(GraphicsContext*);
27 27
28 void paintMarkers(const PaintInfo&); 28 void paintMarkers(const PaintInfo&);
29 void paintMarker(const PaintInfo&, LayoutSVGResourceMarker&, const MarkerPos ition&, float); 29 void paintMarker(const PaintInfo&, LayoutSVGResourceMarker&, const MarkerPos ition&, float);
30 void strokeZeroLengthLineCaps(GraphicsContext*); 30 void strokeZeroLengthLineCaps(GraphicsContext*);
31 Path* zeroLengthLinecapPath(const FloatPoint&) const; 31 Path* zeroLengthLinecapPath(const FloatPoint&) const;
32 32
33 RenderSVGShape& m_renderSVGShape; 33 LayoutSVGShape& m_renderSVGShape;
34 }; 34 };
35 35
36 } // namespace blink 36 } // namespace blink
37 37
38 #endif // SVGShapePainter_h 38 #endif // SVGShapePainter_h
OLDNEW
« no previous file with comments | « Source/core/paint/SVGImagePainter.cpp ('k') | Source/core/paint/SVGShapePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698