OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ContentBoxRadiusClipper_h |
| 6 #define ContentBoxRadiusClipper_h |
| 7 |
| 8 #include "core/rendering/PaintPhase.h" |
| 9 #include "platform/geometry/LayoutPoint.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class RenderBox; |
| 14 struct PaintInfo; |
| 15 |
| 16 class ContentBoxRadiusClipper { |
| 17 public: |
| 18 ContentBoxRadiusClipper(RenderBox&, const PaintInfo&, const LayoutPoint& acc
umulatedOffset); |
| 19 ~ContentBoxRadiusClipper(); |
| 20 bool completelyClipped() { return m_completelyClipped; } |
| 21 |
| 22 private: |
| 23 RenderBox& m_box; |
| 24 const PaintInfo& m_paintInfo; |
| 25 bool m_pushedClip; |
| 26 bool m_completelyClipped; |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // ContentBoxRadiusClipper_h |
OLD | NEW |