| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |