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 BoxBorderPainter_h | 5 #ifndef BoxBorderPainter_h |
6 #define BoxBorderPainter_h | 6 #define BoxBorderPainter_h |
7 | 7 |
8 #include "core/layout/BackgroundBleedAvoidance.h" | 8 #include "core/layout/BackgroundBleedAvoidance.h" |
9 #include "core/style/BorderEdge.h" | 9 #include "core/style/BorderEdge.h" |
10 #include "platform/geometry/FloatRoundedRect.h" | 10 #include "platform/geometry/FloatRoundedRect.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 void drawBoxSideFromPath(GraphicsContext&, | 71 void drawBoxSideFromPath(GraphicsContext&, |
72 const LayoutRect&, | 72 const LayoutRect&, |
73 const Path&, | 73 const Path&, |
74 float thickness, | 74 float thickness, |
75 float drawThickness, | 75 float drawThickness, |
76 BoxSide, | 76 BoxSide, |
77 Color, | 77 Color, |
78 EBorderStyle) const; | 78 EBorderStyle) const; |
79 void drawDashedDottedBoxSideFromPath(GraphicsContext&, | 79 void drawDashedDottedBoxSideFromPath(GraphicsContext&, |
80 const Path&, | 80 const LayoutRect&, |
81 float thickness, | 81 float thickness, |
82 float drawThickness, | 82 float drawThickness, |
83 Color, | 83 Color, |
84 EBorderStyle) const; | 84 EBorderStyle) const; |
| 85 void drawWideDottedBoxSideFromPath(GraphicsContext&, |
| 86 const Path&, |
| 87 float thickness) const; |
85 void drawDoubleBoxSideFromPath(GraphicsContext&, | 88 void drawDoubleBoxSideFromPath(GraphicsContext&, |
86 const LayoutRect&, | 89 const LayoutRect&, |
87 const Path&, | 90 const Path&, |
88 float thickness, | 91 float thickness, |
89 float drawThickness, | 92 float drawThickness, |
90 BoxSide, | 93 BoxSide, |
91 Color) const; | 94 Color) const; |
92 void drawRidgeGrooveBoxSideFromPath(GraphicsContext&, | 95 void drawRidgeGrooveBoxSideFromPath(GraphicsContext&, |
93 const LayoutRect&, | 96 const LayoutRect&, |
94 const Path&, | 97 const Path&, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 bool m_isUniformStyle; | 138 bool m_isUniformStyle; |
136 bool m_isUniformWidth; | 139 bool m_isUniformWidth; |
137 bool m_isUniformColor; | 140 bool m_isUniformColor; |
138 bool m_isRounded; | 141 bool m_isRounded; |
139 bool m_hasAlpha; | 142 bool m_hasAlpha; |
140 }; | 143 }; |
141 | 144 |
142 } // namespace blink | 145 } // namespace blink |
143 | 146 |
144 #endif | 147 #endif |
OLD | NEW |