OLD | NEW |
1 | 1 |
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 DoublePoint_h | 5 #ifndef DoublePoint_h |
6 #define DoublePoint_h | 6 #define DoublePoint_h |
7 | 7 |
8 #include "platform/geometry/DoubleSize.h" | 8 #include "platform/geometry/DoubleSize.h" |
9 #include "platform/geometry/FloatPoint.h" | 9 #include "platform/geometry/FloatPoint.h" |
10 #include "platform/geometry/IntPoint.h" | 10 #include "platform/geometry/IntPoint.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 inline FloatPoint toFloatPoint(const DoublePoint& a) | 164 inline FloatPoint toFloatPoint(const DoublePoint& a) |
165 { | 165 { |
166 return FloatPoint(a.x(), a.y()); | 166 return FloatPoint(a.x(), a.y()); |
167 } | 167 } |
168 | 168 |
169 inline DoubleSize toDoubleSize(const DoublePoint& a) | 169 inline DoubleSize toDoubleSize(const DoublePoint& a) |
170 { | 170 { |
171 return DoubleSize(a.x(), a.y()); | 171 return DoubleSize(a.x(), a.y()); |
172 } | 172 } |
173 | 173 |
174 } | 174 } // namespace blink |
175 | 175 |
176 #endif | 176 #endif |
OLD | NEW |