OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 SVGClipPainter_h | 5 #ifndef SVGClipPainter_h |
6 #define SVGClipPainter_h | 6 #define SVGClipPainter_h |
7 | 7 |
8 #include "platform/geometry/FloatRect.h" | 8 #include "platform/geometry/FloatRect.h" |
9 #include "platform/graphics/paint/DisplayItem.h" | 9 #include "platform/graphics/paint/DisplayItem.h" |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 bool applyClippingToContext(LayoutObject*, const FloatRect&, const FloatRect
&, GraphicsContext*, ClipperState&); | 37 bool applyClippingToContext(LayoutObject*, const FloatRect&, const FloatRect
&, GraphicsContext*, ClipperState&); |
38 | 38 |
39 private: | 39 private: |
40 void drawClipMaskContent(GraphicsContext*, DisplayItemClient, const FloatRec
t&); | 40 void drawClipMaskContent(GraphicsContext*, DisplayItemClient, const FloatRec
t&); |
41 | 41 |
42 LayoutSVGResourceClipper& m_clip; | 42 LayoutSVGResourceClipper& m_clip; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace blink | 45 } // namespace blink |
46 | 46 |
47 #endif // SVGShapePainter_h | 47 #endif // SVGClipPainter_h |
OLD | NEW |