OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2005 Nokia. All rights reserved. | 3 * Copyright (C) 2005 Nokia. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 return FloatSize(a.x(), a.y()); | 270 return FloatSize(a.x(), a.y()); |
271 } | 271 } |
272 | 272 |
273 // Find point where lines through the two pairs of points intersect. Returns fal
se if the lines don't intersect. | 273 // Find point where lines through the two pairs of points intersect. Returns fal
se if the lines don't intersect. |
274 PLATFORM_EXPORT bool findIntersection(const FloatPoint& p1, const FloatPoint& p2
, const FloatPoint& d1, const FloatPoint& d2, FloatPoint& intersection); | 274 PLATFORM_EXPORT bool findIntersection(const FloatPoint& p1, const FloatPoint& p2
, const FloatPoint& d1, const FloatPoint& d2, FloatPoint& intersection); |
275 | 275 |
276 // Redeclared here to avoid ODR issues. | 276 // Redeclared here to avoid ODR issues. |
277 // See platform/testing/GeometryPrinters.h. | 277 // See platform/testing/GeometryPrinters.h. |
278 void PrintTo(const FloatPoint&, std::ostream*); | 278 void PrintTo(const FloatPoint&, std::ostream*); |
279 | 279 |
280 } | 280 } // namespace blink |
281 | 281 |
282 #endif | 282 #endif |
OLD | NEW |